note 8204 deleted from mysql_connect by danbeck
| From: | danbeck@php.net | Date: | Thu, 07 Sep 2000 15:27:06 +0000 |
| Subject: | note 8204 deleted from mysql_connect by danbeck | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4361@lists.php.net to get a copy of this message | ||
In PHP4 if you have:
$conn = mysql_connect("host", "user", "pass");
echo $conn;
It will print "Resource id #n" instead of "n" as in PHP3, it works the same
though...
Also... :
$result = mysql_query(...);
also returns "Resource id #n" instead of an actual INT.