This worked perfectly. Thank you.
As for the FAQ, I looked, but I guess not in the right place!
Mike
Tracy Finifter Rotton [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Change the name of your checkboxes in your HTML to something like:
name=DeleteIDs[]
Is it possible to pass an group of input boxes of the same name, then get
the values of all the checked boxes or filled out textboxes?
How do I get ALL the IDs passed. Right now it only passes the last ID. Do
I really have to give them all unique names?
For example...
html
head
/head
body
form
Change the name of your checkboxes in your HTML to something like:
name=DeleteIDs[]
This will make it an array, and you can access all the elements like
$_POST['DeleteIDs'][0]
etc.
(This should really be in a FAQ somewhere...)
-- tracy
On 1/31/03 11:17 AM, Mike Potter [EMAIL PROTECTED]
On Fri, 31 Jan 2003, Tracy Finifter Rotton wrote:
Change the name of your checkboxes in your HTML to something like:
name=DeleteIDs[]
This will make it an array, and you can access all the elements like
$_POST['DeleteIDs'][0]
etc.
(This should really be in a FAQ somewhere...)
4 matches
Mail list logo