加上了} 可还有提示: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource
还是不行: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource
原因出在$rows上了。not a valid MySQL result 是无效! 你把要查的:(也就是$query里的变量)全加上引号 变成"\$cname\",\"$csex\",\"$cface\",\"$csyd"这种形式试试! ---------------- 好了一点 但是有其他的提示,如下: Warning: Offset 0 is invalid for MySQL result index 2 in /home/jgxy/public_html/cgi/student.php on line 13不是这样吗?
可还有提示:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource
你把要查的:(也就是$query里的变量)全加上引号
变成"\$cname\",\"$csex\",\"$cface\",\"$csyd"这种形式试试!
----------------
好了一点
但是有其他的提示,如下:
Warning: Offset 0 is invalid for MySQL result index 2 in /home/jgxy/public_html/cgi/student.php on line 13不是这样吗?
好好的休息一下/
ALAN_1999(_-_-_-) 老兄,
你的分明天再给。
谢谢
我现在被这东西搞得人好累的。