Resource id #5
[email protected] (Richard Dunne)
| Newsgroups | php.db |
|---|---|
| Message-ID | <[email protected]> |
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];
}