大家新年好,我现在用php调用mysql存储过程,出现了这样的问题.
Commands out of sync; you can't run this command now.
代码如下:
$res = mysql_query("call p_account('$V_date1','$V_date2');", $connection);
$num_rows = mysql_num_rows($res);
大家帮帮忙.
...全文
651打赏收藏
PHP调用存储过程的问题
大家新年好,我现在用php调用mysql存储过程,出现了这样的问题. Commands out of sync; you can't run this command now. 代码如下: $res = mysql_query("call p_account('$V_date1','$V_date2');", $connection); $num_rows = mysql_num_rows($res); 大家帮帮忙.