update 的封裝方法

<?php $mysqli=new mysqli("localhost","root","","demo"); if($mysqli->connect_error){ die("連接數據庫失敗!".$mysqli->connect_error()); } echo "ok<br/>"; update($mysqli,"student","stuname='小明' where id=888888")
相關文章
相關標籤/搜索