抱歉我的英语不太好。
我有一个数组:
Array ( [name] => Array
(
[0] => Sorry the name is missing!
[1] => Sorry the name is to short!
)
)
现在我想用in_array测试例如“name”这样的内容。
if (in_array("name", $false["name"])) {
echo "the array keys";
}
但是它不起作用。能否有人帮助我?非常感谢。