Re: [PHP] Why doesn't the second instance work?

2002-09-02 Thread Tom Rogers
Hi, Tuesday, September 3, 2002, 6:49:25 AM, you wrote: MK> Everything is good, Everything is fine, so I decide to put the same=20 MK> snippet of code in again, this time pointing to a different page -- MK> One=20= MK> page lets you edit the fields, the other shows you the final output,=20 MK>

[PHP] Why doesn't the second instance work?

2002-09-02 Thread Michael Knauf
I'm creating a list/menu form item and populating it from a database,=20 the code snippet looks like this: =00 Edit an item: "; echo ""; for ($i=3D0; $i <$num_results; $i++) { $row =3D mysql_fetch_array($result); echo " $row[id], = $row[productname]"; } echo ""; echo ""; echo "";