Reply to Iterate Through Values from All Checked Checkboxes

Your name:

Reply:


Posted by ameshkin on 12/11/06 08:15

What I want to do is very simple, but I'm pretty new at PHP and its a
little hard for me.

I have one page, where there are a rows of checkboxes. A button
selects all checkboxes, and then presses delete.

When delete is pressed, I want to go to a next page and run a sql
command for every single box thats checked. The checkboxes store a
value, and multiple boxes can be checked.

On the second page, whch is the form actin, I simply want to iterate
through and pull which values are checked and run a sql command for
each value.

I have no idea how to do this. I assume you willl have to use a for
each statement, but am having trouble programming this.

Someone please help!

[Back to original 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

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