foreach ($createTable as $create => $tmp){
//print_r($tmp);
echo $tmp["Create Table"];// 这里正常
echo $tmp[0]; // 这里是空的
}怎么用下标访问不了?
//print_r($tmp);
echo $tmp["Create Table"];// 这里正常
echo $tmp[0]; // 这里是空的
}怎么用下标访问不了?
...
}
//或者
while (list($key, $value) = each($tmp)){
...
}