MSQL Error not a valid MySQL result resource

A

Anonymous

Guest
Your code looks fine (assuming there's only one row, then you'll need a loop), are you sure there's records in the employees table?
 
Try the query in MySQL directly and see what it returns! Have you tried other queries to test the connection?
 
Database was not selected, or connection was not opened, or there is no records in recordset (use mysql_num_rows($result))
------------------------
With best regards,
Serge Bulanov
AlarIT Web developer,
www.AlarIT.com
 
Back
Top