You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'test(name) values("abc")' at line 1插入失败!
if(mysql_query('insert info test(name) values("abc")')){
echo "插入成功!";
}else{
echo mysql_error();
echo "插入失败!";
}