MySQL Forums
Forum List  »  Newbie

mysql_fetch_array
Posted by: dex 002
Date: April 12, 2005 02:56PM

Hello, newbie here...

The following code returns the word ARRAY in my browser and I can't understand why.

<?
$query = mysql_query("SELECT post_id FROM phpbb_posts");
$row = mysql_fetch_array($query);
echo $row;
?>

Please help if you can. Dex

Options: ReplyQuote


Subject
Written By
Posted
mysql_fetch_array
April 12, 2005 02:56PM
April 13, 2005 12:53AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.