$sql=“UPDATE user SET age=age+10 WHERE id=12;”;
$sql.=“DELETE FROM user WHERE id=13”;
$res=$mysqli_multi_query($link,$sql);
var_dump($res);
echo ‘<hr/>’;
这里错了 多一个 $res=$mysqli_multi_query($link,$sql); $
$sql.=“DELETE FROM user WHERE id=13”;
$res=$mysqli_multi_query($link,$sql);
var_dump($res);
echo ‘<hr/>’;
这里错了 多一个 $res=$mysqli_multi_query($link,$sql); $
2016-10-20
Notice: Object of class mysqli_result could not be converted to int
???
???
2016-10-10
( ! ) Notice: Undefined index: username in D:\wampserver\wamp64\www\test\test1\doAction.php on line 9
Call Stack
# Time Memory Function Location
1 0.0010 244768 {main}( ) ...\doAction.php:0
为什么老师的POST变量不会出错?
Call Stack
# Time Memory Function Location
1 0.0010 244768 {main}( ) ...\doAction.php:0
为什么老师的POST变量不会出错?
2016-10-08
Chalice
PHP手册下载地址:https://yunpan.cn/cu8emCmEYRzMg (提取码:2bbe)
这个下了看不了是怎么回事?脱机?
PHP手册下载地址:https://yunpan.cn/cu8emCmEYRzMg (提取码:2bbe)
这个下了看不了是怎么回事?脱机?
2016-10-08