标签:bsp php into sqli username col value int sql
$nowtime= time(); $sql = "insert into user ( username,create_time ) values (‘萨达姆‘,‘$nowtime‘)"; if(mysqli_query($conn,$sql)){ echo ‘添加成共‘; }
这样就行了,定义一个变量 时间戳是10位数的整数
标签:bsp php into sqli username col value int sql
原文地址:https://www.cnblogs.com/xm666/p/11231063.html