View Single Post

  #8 (permalink)  
Old 12-03-2007
AnrDaemon
 
Posts: n/a
Default Re: problem with mysql_num_rows()

Greetings, mantrid.
In reply to Your message dated Saturday, December 1, 2007, 04:06:08,

> Im an idiot. It was the sql, but not because the syntax was wrong. It was
> just that the sql was using variables taken from rows of a text file.


Why it is always true to have valid SQL resultset before coding something in
other languages.
If You getting an error around mysql_query, first make sure You have expected
result in it. Then check something other.


--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>

Reply With Quote