MySQL Forums
Forum List  »  PHP

Re: fetch/return multiple rows for query
Posted by: Reham G
Date: July 09, 2005 03:07AM

ur loop is the problem ($i < mysql_fetch_row($result) ) ..it should be = not <

i.e
while($i=mysql_fetch_row($result)) {
echo $i["pagetitle"]."<br>";
}

Options: ReplyQuote


Subject
Written By
Posted
Re: fetch/return multiple rows for query
July 09, 2005 03:07AM


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.