MSQL Error not a valid MySQL result resource

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
Jay

Post by Jay » Mon Sep 09, 2002 11:35 am

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?

Jay

Post by Jay » Tue Sep 10, 2002 12:14 pm

Try the query in MySQL directly and see what it returns! Have you tried other queries to test the connection?

serge
New php-forum User
New php-forum User
Posts: 14
Joined: Mon Sep 16, 2002 1:25 am
Location: Ukraine
Contact:

Post by serge » Mon Sep 16, 2002 1:35 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests