Hi All,
I have the following code:
$requester_email = $_POST['requester_email'];
$requester_name = $_POST['requester_name'];
$todays_date = $_POST['todays_date'];
$Start_Date = $_POST['Start_Date'];
$End_Date = $_POST['End_Date'];
$Department = $_POST['Department'];
$No_Engineers_Required = $_POST['No_Engineers_Required'];
$Prefered_Engineers = $_POST['Prefered_Engineers'];
$Customer_Name = $_POST['Customer_Name'];
$Location = $_POST['Location'];
$Type_Of_Job = $_POST['Type_Of_Job'];
$Job_Ref_No = $_POST['Job_Ref_No'];
$Additional_info = $_POST['Additional_info'];
The help I need is the information for Prefered_Engineers comes from a collection of checkboxes.
This code is here:
<td>
<font color="#000000" size="2" face="Arial">
<input name="Prefered_Engineers[]" type="checkbox" value="GT" class="fieldstyle">
<br>
<input name="Prefered_Engineers[]" type="checkbox" value="CT" class="fieldstyle">
<br>
<input name="Prefered_Engineers[]" type="checkbox" value="GB" class="fieldstyle">
<br>
<input name="Prefered_Engineers[]" type="checkbox" value="GK" class="fieldstyle">
<br>
<input name="Prefered_Engineers[]" type="checkbox" value="MH" class="fieldstyle">
<br>
<input name="Prefered_Engineers[]" type="checkbox" value="DR" class="fieldstyle">
<br>
<input name="Prefered_Engineers[]" type="checkbox" value="JM" class="fieldstyle">
<br>
<input name="Prefered_Engineers[]" type="checkbox" value="LL" class="fieldstyle">
<br>
<input name="Prefered_Engineers[]" type="checkbox" value="CJ" class="fieldstyle">
<br>
<input name="Prefered_Engineers[]" type="checkbox" value="NW" class="fieldstyle">
<br>
<input name="Prefered_Engineers[]" type="checkbox" value="HG" class="fieldstyle">
<br>
<input name="Prefered_Engineers[]" type="checkbox" value="DH" class="fieldstyle">
<br>
<input name="Prefered_Engineers[]" type="checkbox" value="JW" class="fieldstyle">
<br>
<input name="Prefered_Engineers[]" type="checkbox" value="JB" class="fieldstyle">
</font>
</td>
The value passed is 'Array'.
Can anyone help so that all of the selected checkbox values are passed.
Regards,
T