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,
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 Wollard
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:
input
:[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
send to the form
the return is Array ( [0] = on [1] = on [2
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 correcting a form mailer
] = 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 using the print_r($_POST['gmev']); and selecting all
@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.php/
all
: php-general@lists.php.net
Sent: Wednesday, August 17, 2005 5:28 PM
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
8 matches
Mail list logo