我有两个数组: $ users []和$ types []
返回结果如下:
foreach ($users as $index => $code) {
// this return users first number
echo $code;
// i want here to return type first number of array aswell?
}
我怎么称他们为 foreach中的$ user ['0]和$ types ['0]?我想像这样回复他们:
1,0
1,1
1,0
A
谢谢,