Re: What am i doing wrong? SQL Query in PHP

From: Date: Sun, 09 Mar 2003 14:16:23 +0000
Subject: Re: What am i doing wrong? SQL Query in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-138857@lists.php.net to get a copy of this message
At 13:37 9-3-2003, you wrote:
if ($myrow = mysql_fetch_array($result)) { do {
    echo(" $myrow[title] ");
} while ($myrow = mysql_fetch_array($result)); }
PS same result with while ($myrow = mysql_fetch_array($result)); { echo $myrow['title']; }

« previous php.general (#138857) next »