MySQL

Status
Not open for further replies.

activeradio

New Member
Messages
18
Reaction score
0
Points
0
In a section of my website, I have a PHP login. The code seems to be fine, but it seems to be having trouble on your end. It connects to the database "stencil_access", but it cannot read the the table "members" where their account details are stored. Perhaps, you have an older PHP version? I am not sure.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
PHP version is 5.2.15 , which works with the MySQL just fine.

What error message do you get?

Or do you get no error, just an empty response?

Have you tried using cPanel --> PHPMyAdmin to look at the table and its contents to see if the data is there and correct?
 

activeradio

New Member
Messages
18
Reaction score
0
Points
0
I checked in phpMyAdmin to make sure the values were correct. I have setup my own error messages to check if it can connect to the database, or read the table. This seems to be the error I am getting.

Code:
mysql_select_db("$db_name")or die("Could not read the specified database");
 
Status
Not open for further replies.
Top