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

reading xml faster than DB call?
I am trying to optimize a high traffic website, and I enabled a feature where there are three photos

Getting the full city list from maxminds geoip database
I am suprised I can't find any references to this.

I have maxminds geoip lite installed and i

filesize() returns 0
I have a socket program that runs in an infinite loop, listening for connections, in this socket I h

Calling a Procedure with IN & OUT Parameters
Hello,

I usually call my procedures using the following way

declare variable e

Weird problem with SELECT command..Help!
Hi!

It seems I'm having a really weird problem with SQL SELECT command....I have table into a

function not returning the correct value
I have a program that needs to return a value from a function. I have an output statement inside the

How to copy a part of a vector in a raw memory
Hi,

How can I copy a part of a vector into a memory:

1
2
3
4
5

Converting numbers to months
The porgram works -just need the last function(month_convert_ to convert numbers to months -thanks.

Functions Not Loading Into Div
I had some help doing some of this but what I'm trying to do is get my functions to retrieve its val

Access website from only 1 computer...?
One of my customers wants his website to only be accessed by people in which they bought the website

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