Posted by David Haynes on 05/30/06 12:39
strawberry wrote:
> do you mean this syntax?
>
> <table>
> <?
> while ( $row = mysql_fetch_array($result) ) {
>
> echo "<tr>$row['fieldname']</tr>\n";
> ?>
> </table>
>
You might want to use mysql_fetch_assoc($result) here since you are
fetching the results by column name only.
-david-
[Back to original message]
|