Posted by Vince Morgan on 04/25/07 08:31
<jsgoodrich@gmail.com> wrote in message
news:1177479731.766290.149490@r35g2000prh.googlegroups.com...
> 63 $number_of_rows = mysql_num_rows($result);
> 64
> 65 while ($newArray = mysql_fetch_array($result)) {
You are certain that "id" is the field name?
If so you could try,
mysql_fetch_array($result, MYSQL_ASSOC)) .
> 66
> 67 $id = $newArray['id'];
> 68 $testField = $newArray['testField'];
> 69
> 70 echo "The ID is $id and the text is $testField <br>";
>
>
> Anyone have any thoughts?
>
Vince
[Back to original message]
|