最新回答 / 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