View Single Post
  #2   Spotlight this post!  
Unread 23-05-2004, 20:57
Guest
 
Posts: n/a
Re: MySQL/PHP Query question

Two suggestions:

1. Instead of using ($result !="") use:
PHP Code:
(mysql_num_rows($result)>0
2. (Only try 2 if 1 does not work) Put double quotes instead of single quotes around the user in the query.