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 425,796 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 3,153 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

been getting errors. can you help?

Join Date: Dec 2004
Posts: 3
Reputation: mikeps is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mikeps mikeps is offline Offline
Newbie Poster

Solution Re: been getting errors. can you help?

  #2  
Dec 3rd, 2004
Originally Posted by jrworks
hey I've been getting this error: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource This is what it said that is causing the problem: $stafflist=mysql_query("SELECT id,name,sn,email,title FROM staff WHERE man='Yes' ORDER BY id");

Can you please tell me what is worng ASAP.

Thank you


Hi

I can only think that your staff table does not have one of the fields...
id,name,sn,email,title or man

maybe one of them is spelt wrong

Any Help?

Mike
Reply With Quote  
All times are GMT -4. The time now is 3:26 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC