It should work then. Something else has to be wrong.
add this: or die(mysql_error()); to the end of the mysql_query function. That way you can see if there are any database problems.
Reputation Points: 235
Solved Threads: 193
Nearly a Posting Virtuoso
Offline 1,315 posts
since Jun 2007