I am testing to use php5.0.0b3 and connect to MySQL 4.1.1 encountered
connection problem:-

    $link = mysqli_connect("localhost", "purct", "prcyct","purct")
    or die("Could not connect: " . mysql_error());
    echo "Connected successfully";

Error message:
[04-Feb-2004 14:45:07] PHP Fatal error:  Call to undefined function
mysql_connect() in D:\Purct\New1x.php on line 1

Please help to advise what went wrong ?

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to