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

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

Yeah you could be right I'll go a look at the script. If not I'll get back to you

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.