Jump to content


Photo

Warning: mysql_fetch_row():


  • Please log in to reply
2 replies to this topic

#1 xyn

xyn
  • Members
  • PipPipPip
  • Advanced Member
  • 779 posts
  • LocationNorthampton

Posted 10 August 2006 - 05:45 AM

Hii guys,
Does anyone know what this error means?

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/eumod/public_html/en/more.php on line 26.

line 26 is:
while( $nwsdata = mysql_fetch_row( $nwssql )) {

#2 elhama

elhama
  • Members
  • PipPip
  • Member
  • 19 posts

Posted 10 August 2006 - 05:47 AM

It means you messed up the SQL query

#3 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 10 August 2006 - 11:03 AM

Post your code here. Also add
or die(mysql_error());
to end of the mysql_query function. That way if there is a problem with your query, you'll get an error message returned from MySQL explaining why.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users