View Single Post
Old 09-26-2012, 12:09 AM   PM User | #11
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,555
Thanks: 62
Thanked 4,054 Times in 4,023 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
You know, that code can't possibly work if the HTML page every shows more than one row (more than one id).

Clicking on ANY of the submit buttons (the value="Update" buttons) will submit *ALL* the data from *ALL* the rows, and PHP is not equipped to handle that.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote