#19046 [Opn->Bgs]: Resource id #2
| From: | derick@php.net | Date: | Thu, 22 Aug 2002 14:11:35 +0000 |
| Subject: | #19046 [Opn->Bgs]: Resource id #2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17543@lists.php.net to get a copy of this message | ||
ID: 19046
Updated by: derick@php.net
Reported By: jean.bazin@ifrance.com
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: linux 7.3
PHP Version: 4.1.2
New Comment:
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-08-22 10:07:31] jean.bazin@ifrance.com
Hello,
The return of this script returns "Connexion OK Resource id #2",
instead of the value "5".
<?php
$connexion = mysql_connect("myserver", "login", "pwd") or die
("Error");
print ("Connexion OK");
$bdd = mysql_select_db("testSMS",$connexion) or die ("Can't find db");
$query = "SELECT ticket_id FROM ticket";
$results = mysql_query($query, $connexion);
print ( " $results" );
mysql_close($connexion);
?>
thanxs for helping.
jano
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19046&edit=1