Bug #11495: error: Mysql_connect() doesn't exist.
| From: | jonathonfitch at hotmail dot com | Date: | Thu, 14 Jun 2001 21:05:48 +0000 |
| Subject: | Bug #11495: error: Mysql_connect() doesn't exist. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56967@lists.php.net to get a copy of this message | ||
From: jonathonfitch@hotmail.com
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