Hello all,
I have written a simple PHP script that connects to a MySQL database and retrieves a record from a table. However, my script stop swith an error: 'Table yourdatabase.ta ble does not exist', whereas it does!
I see the table when I execute 'show tables;' and also when I 'desc' it. I can also run select queries on it from within the MySQL command line. But somehow, the php script fails to. It connects to the database correctly. However, does not select from table.
Any suggestions?
Thanks,
Trupti
I have written a simple PHP script that connects to a MySQL database and retrieves a record from a table. However, my script stop swith an error: 'Table yourdatabase.ta ble does not exist', whereas it does!
I see the table when I execute 'show tables;' and also when I 'desc' it. I can also run select queries on it from within the MySQL command line. But somehow, the php script fails to. It connects to the database correctly. However, does not select from table.
Any suggestions?
Thanks,
Trupti
Comment