List Info

Thread: Iterate Through Values from All Checked Checkboxes




Iterate Through Values from All Checked Checkboxes
user name
2006-12-11 08:15:19
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!


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the
Google Groups "PHP-Masters" group.
To post to this group, send email to PHP-Mastersgooglegroups.com
To unsubscribe from this group, send email to
PHP-Masters-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups-beta.google.com/group/PHP-Masters
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )