User Profile

Collapse

Profile Sidebar

Collapse
mathurinjerry
mathurinjerry
Last Activity: Aug 28 '07, 11:31 PM
Joined: Aug 25 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mathurinjerry
    replied to How to connect to MySQL in PHP
    in PHP
    i tried this and i still get nothing but a blank page:
    [PHP]
    <? error_reporting (E_ALL);
    ini_set('displa y_errors', TRUE);
    $con=mysql_conn ect('localhost' ,'__MUNGED__',' __MUNGED__');
    if($con){
    echo"connected successfully";
    }else{
    echo"could not connect to the database";
    }
    ?>

    [/PHP]...
    See more | Go to post
    Last edited by pbmods; Aug 27 '07, 05:01 PM. Reason: Removed bold, removed sensitive data.

    Leave a comment:


  • mathurinjerry
    started a topic How to connect to MySQL in PHP
    in PHP

    How to connect to MySQL in PHP

    I'm a newbie at this so if someone could please help me out:
    I have : PHP Version 5.2.3, Apache 2.2.4, and mySQL Version 4.1.22 on Windows XP.

    I have PHP working independantly. I have mySQL client working perfectly by itself. When trying to connect to the mySQL database, using PHP, i don't get anything: only a blank page. I need help! I've been struggling for 22hrs now trying to get it to work.

    This is what i've...
    See more | Go to post
    Last edited by Atli; Aug 25 '07, 11:20 PM. Reason: Added [code] tags and changed unnecessary bold text.
No activity results to display
Show More
Working...