From: [EMAIL PROTECTED]
Operating system: NT
PHP version: 4.0.5
PHP Bug Type: *General Issues
Bug description: error: Mysql_connect() doesn't exist.
This is the error I'm getting:
Fatal error: Call to unsupported or undefined function mysql_connect() in
C:\Inetpub\wwwroot\test.php3 on line 3
This is the script:
<?
$link = mysql_connect ("localhost", "username", "secret")
or die ("Could not connect");
print ("Connected successfully");
mysql_close ($link);
?>
I've tried both PHP 3 and PHP 4, both give me this error....
--
Edit Bug report at: http://bugs.php.net/?id=11495&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]