|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2002-08-22 10:11 UTC] derick@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 20:00:01 2025 UTC | 
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