php 查询mysql 多次查询报错Commands out of sync; you can't run this command now
多次查询报错 Commands out of sync; you can't run this command now
解决方案:
使用
mulity_query()
最小化写法
do
{
result = mysql_store_result( mysql );
mysql_free_result(result);
}while( !mysql_next_result( mysql ) );
Think Different, Make Different-编程是一个习惯