note 11782 added to mysql_connect
| From: | apbianco at php2 dot chek dot com | Date: | Wed, 07 Mar 2001 00:54:36 +0000 |
| Subject: | note 11782 added to mysql_connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11974@lists.php.net to get a copy of this message | ||
Note that's it trivial to add a Q&D MySQL to the sources in ext/mysql:
$ more mysql.phpt
--TEST--
MySQL
--POST--
--GET--
--FILE--
<?php
$link = mysql_connect ()
or die ("Could not connect");
print ("Connected successfully");
mysql_close ($link);
?>
--EXPECT--
Connected successfully
http://www.php.net/manual/en/function.mysql-connect.php