MYSQL版本: 5.0.19-nt
$sql="INSERT INTO mt_message (`id`,`name` ,`tel` ,`email` )VALUES (NULL,'111111111', '11', '1')";
//$sql="INSERT INTO mt_message (`id` ,`name` ,`tel` ,`email` ,`qita` ,`content` ,`shijian` ,`user` ,`huifu` ,`shenhe`
//)VALUES (NULL , '1', '2', '', '', '', NOW( ) , '', '', '')";
为什么第二个SQL语句就可以插入成功,而第一插入不成功。我很纳闷啊。
MYSQL版本: 5.0.45-community-nt
2个都可以插入成功,求解。怎么才能在5.0.19中都可以
相关分类