View Single Post
  #4 (permalink)  
Old 04-22-04, 11:16 PM
Tim Tim is offline
Newbie Coder
 
Join Date: Jul 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
It is probably due to using the mysql_fetch_array function
twice. Try changing:
if ($row = mysql_fetch_array($query))
to
if ($row = !$query)

It will accomplish the same thing without the extra function call.
__________________
Tim
Reply With Quote