$kejian=mysql_connect("localhost","root","root");$result=mysql_select_db("ultrax",$kejian);$sql="SELECT MAX (id) from dizhi";$rows2=mysql_query($sql);$_SESSION['id']=$rows2;$_SESSION['id']+=1;mysql_query("INSERT INTO dizhi (wenjiandizhi,id) VALUES ('http://localhost/Thehome/upfile/uploads/{$fileInfo['name']}','{$_SESSION['id']}')");mysql_close($kejian);
添加回答
举报
0/150
提交
取消