note 22557 added to language.types.resource
| From: | isaac at chexbox dot com | Date: | Sat, 22 Jun 2002 17:37:47 +0000 |
| Subject: | note 22557 added to language.types.resource | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32107@lists.php.net to get a copy of this message | ||
For the the oblivious: An example of a resource would be a mysql database connection.
$result = mysql_connect("localhost", "username", "pass");
//$result variable is a resource.
print $result;
//will print: Resource ID#1, or something similar
--
http://www.php.net/manual/en/language.types.resource.php
http://master.php.net/manage/user-notes.php?action=edit+22557
http://master.php.net/manage/user-notes.php?action=delete+22557
http://master.php.net/manage/user-notes.php?action=reject+22557