Resource id #5
| From: | Richard Dunne | Date: | Thu, 27 Mar 2008 17:51:18 +0000 |
| Subject: | Resource id #5 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-44836@lists.php.net to get a copy of this message | ||
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];
}