我的php与mysql链接成功,但无法执行sql语句。提示shibai.求大神解答!
<?$conn=@mysql_connect("localhost","root","")ordie("链接错误");mysql_select_db("bbs",$con...
<?
$conn=@mysql_connect("localhost","root","")or die("链接错误");
mysql_select_db("bbs",$conn)or die("dakaishibai");
$sql="insert into test(id,uid,regdate,)values(``,`php100`,`555`)";
mysql_query($sql,$conn)or die("shibai");
?> 展开
$conn=@mysql_connect("localhost","root","")or die("链接错误");
mysql_select_db("bbs",$conn)or die("dakaishibai");
$sql="insert into test(id,uid,regdate,)values(``,`php100`,`555`)";
mysql_query($sql,$conn)or die("shibai");
?> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询