|This is a basic question, and I have some experience with PHP and databases. However, I can't seem to do this:|
I just want to extract the contents of a row into an array. I've looked everywhere, but I only get sample codes that don't work.
Here is the portion of my code that is just returning a bunch of "Array" words in a row, instead of the strings that make up the row.
$result3 = mysql_query("SELECT * FROM VTABLE;") or die(mysql_error());
for($i = 0; $array[$i] = mysql_fetch_assoc($result3); $i++) ;
echo $array .' '. $array .' '. $array .' '. $array .' '. $array .' ';
Any help would be appreciated.