Hi
This is probably not the first query on this topic.
If there is already a solution here, please direct me.
I have created a Form that includes name, company, email, etc., but also some topics the user is interested in.
These are in several Select boxes; there is also a multi-choice Checkbox.
The Form is displayed on one page, filled in, then Submitted.
It is Actioned on another page which picks up the $_POSTed data.
At the moment I only Validate the email address.
If there is an Error, the page is redisplayed with submitted data and choices.
My problem is how to fill the Checkbox part from it's $_POST['xxxxxx'] array.
I want to use PHP ONLY (no JavaScript, Perl, etc.)
Hoping someone will be able to solve this and include an example, or direct me to any (simple) solution already on the 'Net
best regards
Bob Sharp
This is probably not the first query on this topic.
If there is already a solution here, please direct me.
I have created a Form that includes name, company, email, etc., but also some topics the user is interested in.
These are in several Select boxes; there is also a multi-choice Checkbox.
The Form is displayed on one page, filled in, then Submitted.
It is Actioned on another page which picks up the $_POSTed data.
At the moment I only Validate the email address.
If there is an Error, the page is redisplayed with submitted data and choices.
My problem is how to fill the Checkbox part from it's $_POST['xxxxxx'] array.
I want to use PHP ONLY (no JavaScript, Perl, etc.)
Hoping someone will be able to solve this and include an example, or direct me to any (simple) solution already on the 'Net
best regards
Bob Sharp