Closed Thread
Results 1 to 3 of 3

Thread: MySQL

  1. #1
    activeradio is offline x10Hosting Member activeradio is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    18

    MySQL

    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.

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: MySQL

    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?
    Nothing is always absolutely so.

  3. #3
    activeradio is offline x10Hosting Member activeradio is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    18

    Re: MySQL

    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");

Closed Thread

Similar Threads

  1. Replies: 3
    Last Post: 02-02-2011, 02:09 AM
  2. Replies: 1
    Last Post: 10-15-2010, 01:46 PM
  3. Replies: 2
    Last Post: 10-14-2010, 10:49 AM
  4. Replies: 2
    Last Post: 12-17-2007, 03:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers