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];
}
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.