Checkbox info wont include in Mailto


Posted on 16th Feb 2014 07:03 pm by admin

Hey, im new to php.
Basically I have made a form to request which type of job(s) are needed, which when filled will then be sent to an email address.

The problem im having is that when more than 1 checkbox is ticked, the mailto only sends 1 of the checkedboxes.

My script for the checkboxes are:::::::
<span class="label"><span class="labelred">*</span>Job type:</span>
<label>
<input type="checkbox" name="job" value="paper" id="job_0" />
Paper Hanging</label>
<br />
<div style="margin-left:270px";><label>
<input type="checkbox" name="job" value="painting" id="job_1" />
Painting</label>
<br />
<label>
<input type="checkbox" name="job" value="insurance" id="job_2" />
Insurance Work</label>
</div>

--------------------------------------------------------------
My mailto script for this section is basically:
$_job = $_REQUEST['job']..

How do i request an individual job ID? or make the name of the checkboxes 'job' to include all th checked items in to the main body of the email?
Just so you know, in the body of the email, i simply have the $job variable added into it.

Any help

No comments posted yet

Your Answer:

Login to answer
54 Like 34 Dislike
Previous forums Next forums
Other forums

i want run some web server under the ip sharer
hello i want run some web server under the ip sharer
my ip is floating ip but it doesnt matter

Need help in Generating Combinations
Need help generating all possible combination of names in an array

Lets say i have the follow

Do something every fifth time?
I'm trying to write a loop, but I want it to do something different after every fifth instance. Like

Sorting JTable on more than just the values listed in the columns
I have a collection of objects that store (among other things) two integer values. I only want to di

value not going in data base
hello friends....
i am having a working javascript....when i am selecting any

import table with dependency
Hi

What is the best way to import table back which has dependency?

SQL> cre

extract content from a website
i have written a code that will grab the content from the index page..
i would like to know how c

PHP hyperlinks generator - HELP plz
Hi

I need some help to get this done using php:


1 - I have few hyperlinks say 500

Namespace Problem
I'm having problem with a section of code with a variable namespace.

This code works fine:

PHP Search Issue
Hi, I am using the following code to search and return flights from a database. The user searches by

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash