w is this done?
test form is on http://www.passeycorp.com/event_reg.php check it
out and I
think you'll
see what I mean.
The suggestions and help are greatly appreciated.
Ted
- Original Message -
From: "Jordan Miller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]&g
hp-general@lists.php.net
Subject: Re: [PHP] Help correcting a form mailer problem...
Sorry, I believe you are mistaken here... you *can* specify a value
for each checkbox and have it come through. I have written scripts
that do this, and here is another example:
http://www.tizag.com/phpT/examples/formex
mev[3]"
And your array contains
[1] => on : [3] => on
1 and 3 are selected
-Original Message-
From: zedleon [mailto:[EMAIL PROTECTED]
Sent: 17 August 2005 21:30
To: php-general@lists.php.net
Subject: Re: [PHP] Help correcting a form mailer problem...
thanks for the reply...
after u
Hi
If the checkbox exists in the array it is selected... if it isn't there it's
not selected
That's my experience :)
-Original Message-
From: zedleon [mailto:[EMAIL PROTECTED]
Sent: 17 August 2005 21:30
To: php-general@lists.php.net
Subject: Re: [PHP] Help correctin
-Original Message-
From: zedleon [mailto:[EMAIL PROTECTED]
Sent: 17 August 2005 21:30
To: php-general@lists.php.net
Subject: Re: [PHP] Help correcting a form mailer problem...
thanks for the reply...
after using the print_r($_POST['gmev']); and selecting all the checkboxes to
wherever you think you are adding data to the gmev array, you are
merely adding the "on" string. I would search your script for the
string "on" and you will find the problem.
what you need is the value in the HTML form to be the text you want
inserted into the array, such as:
Jordan
On
thanks for the reply...
after using the print_r($_POST['gmev']); and selecting all the checkboxes to
send to the form
the return is Array ( [0] => on [1] => on [2] => on [3] => on ). So the
values are missing.
don't really know how to proceed at this point.
any help is appreciated.
"Joe Wolla
I would first start out by dumping the values of $_POST['gmev'] by using
print_r($_POST['gmev']);
Sounds to me like you're not getting the data that your expecting
from the form for some reason. Maybe $_POST['gmev'] is an array of
null values?
-Good Luck
On Aug 17, 2005, at 12:15 PM, zedl
I previously built a sticky form with dynamic checkbox array's.
The form works beautifully thanks to help from Jochem Mass and Kathleen
Ballard.
I now have a slightly different problem...I have built an email form to send
the form data.
I copied and used the following code which works grea
9 matches
Mail list logo