MSQL Error not a valid MySQL result resource

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply

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?


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?

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

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,

Post Reply