更新时间:2023-11-28 16:20:04
这有点令人困惑,因为这种事情通常是由SQL错误引起的,但是..or die(mysql_error());
行应该已经解决了.检查循环的内容,确认您没有覆盖$result
变量.
That's slightly confusing, since this sort of thing is usually caused by an SQL error, however the line ..or die(mysql_error());
should have picked that up. Check the contents of your loop that you're not overwriting the $result
variable.