RE: Resource id #5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:richarddunne1971@xxxxx]
--> Sent: Thursday, March 27, 2008 11:51 AM
--> To: php-db@xxxxxxxxxxxxx
--> Subject:  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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux