本帖最后由 A1023824314 于 2013-07-29 18:05:01 编辑
数据库
$a=mysql_connect("localhost","root","");
if($a)
echo "shi";
$as=mysql_select_db("study",$a);
if($as)
echo "shi";
$sql="INSERT INTO s1 (id,cash)values('','1234')";
mysql_query($sql,$a);
?>
我觉得一点没错啊~但是到PHPADMIN上去看数据库中并没有新数据增加!
回复讨论(解决方案)
把其中的全角括号改为半角括号
把其中的全角括号改为半角括号
谢谢!!解决问题了!嘿嘿!!!
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn