PHP 4.0 Bug #6257 Updated: mysql function returns 'Resource id #'
| From: | Bug Database | Date: | Sun, 20 Aug 2000 08:24:42 +0000 |
| Subject: | PHP 4.0 Bug #6257 Updated: mysql function returns 'Resource id #' | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-29883@lists.php.net to get a copy of this message | ||
ID: 6257
Updated by: sniper
Reported By: axel@asta.uni-hamb
Status: Closed
Bug Type: MySQL related
Assigned To:
Comments:
I don't really understand what is the problem?
Of course it echoes "Resource id #1" when you echo it. It should be stored in a variable
which is then used with the other mysql-functions.
See http://www.php.net/manual/function.mysql-connect.php
for example how to use it.
--Jani
Full Bug description available at: http://bugs.php.net/?id=6257