User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 426,970 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,469 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser: Programming Forums

Supplied argument is not a valid MySQL result resource

Join Date: Aug 2007
Posts: 1
Reputation: gregarious is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
gregarious gregarious is offline Offline
Newbie Poster

Question Re: Supplied argument is not a valid MySQL result resource

  #6  
Aug 18th, 2007
Thanks, this thread helped me figure out a problem I was having too.

In my case, the problem was a missing semicolon at the end of the SQL statement. Was this also the problem for the original poster, I wonder?

In other words, this:

...snip... AND user_password='$user_password'";

should have been this:

...snip... AND user_password='$user_password';";
Last edited by gregarious : Aug 18th, 2007 at 4:20 am. Reason: clarify with code example
Reply With Quote  
All times are GMT -4. The time now is 1:23 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC