You are here: update table for several records « PHP Programming Language « IT news, forums, messages
update table for several records

Posted by zek2005 on 12/27/05 17:45

Hi!!!!

I have a list of records as a result of a query. They are displayed
with a while sentence...

while($row = mysql_fetch_array($res))

at the end of each record, I inserted a checkbox because I need to
update all the records that the user checks in the checkbox. So, the
process is:

1) The PHP displays all the records with the "while"
2) The user checks one or more checkbox
3) Then Update the table where the record is checked

Each checkbox has an unique name. I understand how to update the table
with one record checked, but as the numbers of records to change can
variable, how do I do it???

Any help will be apprecciate!!

Best regards,

Ezequiel

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация