用框架写久了 就会原始写法忘了 今天特意备注一下
= MysqLi_connect('localhost','root','','school') or ->set_charset('utf8' = "select * from think_user" = ->query( = ( = ->[] = '
<span style="color: #800080">$sql="update think_user set
<span style="color: #800080">$sql="delete from think_user where id=20";
'(<span style="color: #008000">//<span style="color: #008000"> 新增
<span style="color: #800080">$sql = "insert into think_user values('哈哈','尴尬')"<span style="color: #000000">;
<span style="color: #008000">//<span style="color: #008000"> 修改<span style="color: #800080">$sql="update think_user set
name
='京客隆',age
=20,address
='长江索道' where id=20"<span style="color: #000000">;
<span style="color: #008000">//<span style="color: #008000"> 删除<span style="color: #800080">$sql="delete from think_user where id=20";