Re: [PHP] updating values in a while statement

2001-04-02 Thread Lindsay Adams
G'Day, You need to have an auto_incrementing field in your database. Then all lines that are displayed need to be in the form of fieldname[] so that PHP builds an array. Then you need a hidden field to represent the unique record number to be updated. Here is some code that I use to print out a

[PHP] updating values in a while statement

2001-04-02 Thread Peter Houchin
Hiya i've got a script that basically draws values from a db and will display them, as i have multiple records in there and want to display them all i'm using a while ( ($myrow = mysql_fetch_array($result) ) ) statement this is all good as far as it will display them all how ever when i to be