TNND!大家猜怎么回事?原来是天网防火墙的原因!! 我关了它就没有上述的提示了,不过,还是不行: Warning: Supplied argument is not a valid MySQL result resource in D:\myweb\index.php on line 12 First Name: Warning: Supplied argument is not a valid MySQL result resource in D:\myweb\index.php on line 13 Last Name: Warning: Supplied argument is not a valid MySQL result resource in D:\myweb\index.php on line 14 Address: Warning: Supplied argument is not a valid MySQL result resource in D:\myweb\index.php on line 15 Position:
Warning: Supplied argument is not a valid MySQL result resource 是指query出来的数据集不对 把你的sql显示出来~~在mysql命令行下运行看看是什么结果~~
我的机器在局域网的名字是yzy-win2k,但是我替换了还是不行啊;
没有设密码,不是允许匿名访问吗?
good luck to u
我关了它就没有上述的提示了,不过,还是不行:
Warning: Supplied argument is not a valid MySQL result resource in D:\myweb\index.php on line 12
First Name: Warning: Supplied argument is not a valid MySQL result resource in D:\myweb\index.php on line 13
Last Name: Warning: Supplied argument is not a valid MySQL result resource in D:\myweb\index.php on line 14
Address: Warning: Supplied argument is not a valid MySQL result resource in D:\myweb\index.php on line 15
Position:
是指query出来的数据集不对
把你的sql显示出来~~在mysql命令行下运行看看是什么结果~~
原来第十一行的 emploees应该为 employees ,
怪我怪我!低级错误!!