RE: [PHP-DB] Resource id #5

[email protected] (Miguel Guirao)
Newsgroups php.db
Organization RADIOMOVIL DIPSA, S.A. DE C.V.
Message-ID <[email protected]>
Been a positive integer, it jeans that the SQL query was succesfully
executed, read the function description. 

__________________
Miguel Guirao Aguilera, Linux+, ITIL
Sistemas de Información
Informática R8
Ext. 7540

--> -----Original Message-----
--> From: Richard Dunne [mailto:[email protected]]
--> Sent: Thursday, March 27, 2008 11:51 AM
--> To: [email protected]
--> Subject: [PHP-DB] Resource id #5
--> 
--> Can someone explain how I can translate Resource id #5 which is what I
--> am getting from the code below?
--> 
--> $result = mysql_query("Select answer from answers") or
--> die(mysql_error());
--> $resultArray = explode(',',$result);
--> for ($i=0;$i<sizeof($resultArray);$i++)
--> {
--> 	echo $resultArray[$i];
--> }
--> 
--> 
--> 
--> --
--> PHP Database Mailing List (http://www.php.net/)
--> To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.