SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2000
    Location
    Louisville, KY, US
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Oke, finally I got PHP and Mysql working after a vacation in holland. I am now working with part four of the tutorial on Sitepoint. Here is my problem, When I want to access the jokes database with the provided page from the tutorial I get a empty page. I worked my way down and came up with a little code like this:

    <HTML>
    <HEAD>
    <TITLE> Our List of Jokes </TITLE>
    <HEAD>
    <BODY>
    <?php
    $dbcnx = mysql_connect("localhost", "root", "password");
    ?>
    </BODY>
    </HTML>

    As you see I left the @ out in front of the mysql_connect! This gave me the following error:

    Fatal error: Call to unsupported or undefined function mysql_connect() in C:\Inetpub\wwwroot/Data.php on line 9

    Any ideas?
    Thanx in advange
    EMB

    ------------------
    so never mind the darknes, we still can find the way. Cause nothin' last forever, even cold November rain.(Rose)

  2. #2
    SitePoint Enthusiast
    Join Date
    Feb 2000
    Location
    Louisville, KY, US
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Shoot!!!

    I found the problem

    In the php3.ini file I deleted the ; in front of the extension php3_mysql.dll line
    but left the space in front of it. when I swift the extension to the beginning of the line it worked just fine

    What a little setting can do!!
    Well, let's get further with the tutorial.
    BTW. great stuff Kevin
    EMB

    ------------------
    so never mind the darknes, we still can find the way. Cause nothin' last forever, even cold November rain.(Rose)

  3. #3
    SitePoint Evangelist
    Join Date
    May 2000
    Location
    Canada
    Posts
    533
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    when all else fails, bang head ==> o <== there

    -----------------
    SitePoint Moderator
    my ONLY host


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •