最新回答 / greenhandc
是这样的,mysqli_insert_id(connect()),returns the ID generated by a query on a table with a column having the AUTO_INCREMENT attribute. If the last query wasn't an INSERT or UPDATE statement or if the modified table does not have a column with the AUTO_INCREME...
2017-02-28
最新回答 / Getatny
index.php页面需要开启session才可以使用session,因为看不到你index页面页头的代码,觉得你应该是只在dologin页面使用了session_start();,你在index页面开启应该就行了
2017-02-28
最新回答 / 语沫流逝
你看看输出的<...code...>sql语句就知道 Id值和要修改的内容没有传递进入 update语法$sql = "update shop_admin set username='a' wherre id =1 ";你自己再看看哪里错了吧!!!!!!
2017-02-23
最新回答 / 逍遥哥哥
你的mysql.func.php 中第7行foreach语句写错了 。你的:((array)$sxh as $key => $val)应改为:($array as $key=>val)
2017-02-23