Hello!
please i need help with this,after sumiting my form i get this error message on line 111
any help i will appreciate, thx
<?php session_start();
include("../Connections/recruit.php");
echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">";
//check certification
$certification = $HTTP_POST_VARS['certification'];
if($certification != "accept")
{ echo(" Your application has been terminated as a result of uncertified information!");?> </font></div>
<? end;
}
else{
//post time
$date_posted = date ("l, jS of , Y h:i:s A");
// pass session vars into simple vars
//personal data
$title = $HTTP_SESSION_VARS['stitle'];
$firstname = $HTTP_SESSION_VARS['sfirstname'];
$middlename = $HTTP_SESSION_VARS['smiddlename'];
$surname = $HTTP_SESSION_VARS['ssurname'];
$priornames = $HTTP_SESSION_VARS['spriornames'];
$reasons = $HTTP_SESSION_VARS['sreasons'];
$birthplace = $HTTP_SESSION_VARS['sbirthplace'];
$dob_month = $HTTP_SESSION_VARS['sdob_month'];
$dob_day = $HTTP_SESSION_VARS['sdob_day'];
$dob_year = $HTTP_SESSION_VARS['sdob_year'];
$sex = $HTTP_SESSION_VARS['ssex'];
$nigeria_address = $HTTP_SESSION_VARS['snigeria_address'];
$state_of_origin = $HTTP_SESSION_VARS['sstate_of_origin'];
$lga = $HTTP_SESSION_VARS['slga'];
$current_address = $HTTP_SESSION_VARS['scurrent_address'];
$phone = $HTTP_SESSION_VARS['sphone'];
$fax = $HTTP_SESSION_VARS['sfax'];
$email = $HTTP_SESSION_VARS['email'];
$eyes = $HTTP_SESSION_VARS['eyes'];
$hair = $HTTP_SESSION_VARS['hair'];
$special_features = $HTTP_SESSION_VARS['sspecial_features'];
$height = $HTTP_SESSION_VARS['height'];
$weight = $HTTP_SESSION_VARS['weight'];
$marital_status = $HTTP_SESSION_VARS['smarital_status'];
$kinname = $HTTP_SESSION_VARS['skinname'];
$kin_address = $HTTP_SESSION_VARS['skin_address'];
$kin_relationship = $HTTP_SESSION_VARS['skin_relationship'];
//resume
$resume = $HTTP_SESSION_VARS['sresume'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>
:: Recruitment (Status)</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><style TYPE="text/css"><!-- A:link {text-decoration: none; color:#000055} A:visited {text-decoration: none; color:#000055} A:active {text-decoration: none; color:#000022} A:hover {text-decoration: ; color:#00CC00 }--></style><div align="center"> <table width="780" border="0" cellpadding="0" cellspacing="2" bgcolor="#FFFFFF"> <tr> <td><div align="center"> <table border="0" cellpadding="0" cellspacing="0" width="760"> <!-- fwtable fwsrc="3banner.png" fwbase="3banner.jpg" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" --> <tr> <td><img src="bannerhome/spacer.gif" width="67" height="1" border="0" alt="" /></td> <td><img src="bannerhome/spacer.gif" width="491" height="1" border="0" alt="" /></td> <td><img src="bannerhome/spacer.gif" width="202" height="1" border="0" alt="" /></td> <td><img src="bannerhome/spacer.gif" width="1" height="1" border="0" alt="" /></td> </tr> <tr> <td colspan="3">
<img name="3banner_r1_c1" src="../images/banner_r1_c1.jpg" width="760" height="6" border="0" id="3banner_r1_c1" alt="" /></td> <td><img src="bannerhome/spacer.gif" width="1" height="6" border="0" alt="" /></td> </tr> <tr> <td rowspan="4">
<img name="3banner_r2_c1" src="../images/logo.jpg" width="67" height="129" border="0" id="3banner_r2_c1" alt="" /></td> <td rowspan="3"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="491" height="122">
<param name="movie" value="../flash/banner_recruit.swf" />
<param name="quality" value="High" />
<embed src="../flash/banner_recruit.swf" quality="High" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="491" height="122"></embed></object></td> <td>
<img name="3banner_r2_c3" src="../images/3banner_r2_c3.jpg" width="202" height="23" border="0" id="3banner_r2_c3" alt="" /></td> <td><img src="bannerhome/spacer.gif" width="1" height="23" border="0" alt="" /></td> </tr> <tr> <td>
<img name="3banner_r3_c3" src="../images/recruit.jpg" width="202" height="61" border="0" id="3banner_r3_c3" alt="" /></td> <td><img src="bannerhome/spacer.gif" width="1" height="61" border="0" alt="" /></td> </tr> <tr> <td rowspan="2">
<img name="3banner_r4_c3" src="../images/3banner_r4_c3.jpg" width="202" height="45" border="0" id="3banner_r4_c3" alt="" /></td> <td><img src="bannerhome/spacer.gif" width="1" height="38" border="0" alt="" /></td> </tr> <tr> <td>
<img name="3banner_r5_c2" src="../images/3banner_r5_c2.jpg" width="491" height="7" border="0" id="3banner_r5_c2" alt="" /></td> <td><img src="bannerhome/spacer.gif" width="1" height="7" border="0" alt="" /></td> </tr> </table> </div></td> </tr> <tr> <td height="27"> <div align="center"> <table width="100%" border="1" cellpadding="2" cellspacing="0" bordercolor="#CCCCCC"> <tr> <td height="25"> <div align="center"> <table width="100%" border="0" cellpadding="2" cellspacing="2"> <tr valign="top"> <td width="81%" height="26" bgcolor="#CCCCCC"> <div align="center"> </div></td> <td width="19%" rowspan="2" bgcolor="#000055"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>
<img border="0" src="../images/fadeflare.jpg" width="185" height="252"></td> </tr> </table></td> </tr> <tr> <td valign="top" bgcolor="#FFFFFF">
<div align="center"><font face="Arial" color="#FF0000" size="2">
<?
/* recipients */
$to = "xxjack@yahoo.com";
/* subject */
$subject = "Application form submission from"." ".$firstname." ".$surname." (".$email.")";
/* message */
$message = "Your application form has been completed with the following details"."\n\n".
"Remote form submission time: "."$posttime"."\n".
"[Personal Data]"."\n".
"Title : $title"."\n".
"First Name : $firstname"."\n".
"Middle Name : $middlename"."\n".
"Surname : $surname"."\n".
"Prior Names Used : $priornames"."\n".
"Reasons for Name Change : $reasons"."\n".
"Place of Birth : $birhplace"."\n".
"Name : $kinname"."\n".
"Address : $kin_address"."\n".
"Relatonship : $kin_relationship"."\n".
"Nigeria Address : $nigeria_address"."\n".
"State of Origin : $state_of_origin"."\n".
"Current Address : $current_address"."\n".
"Phone : $phone"."\n".
"Fax : $fax"."\n".
"Email : $email"."\n".
"Occupation : $occupation"."\n".
"Color of Eyes : $eyes"."\n".
"Color of Hair : $hair"."\n".
"Special Features : $special_features"."\n".
"Height : $height"."\n".
"Weight : $weight"."\n".
"Date of Birth : $dob_month $dob_day, $dob_year
Gender : $sex
Marital Status : $marital_status
//print_r($_SESSION);
// SELECT DATABASE
mysql_select_db($database_recruit) or die(mysql_error());
$result = mysql_query("insert into users_cv (title, firstname, middlename, surname, priornames, reasons, birthplace, dob_day, dob_day, dob_year, sex, nigeria_address, state_of_origin, lga, current_address, phone, fax, occupation, eyes, hair, height, weight, marital_status, kinname, kin_address, kin_relationship, date_posted) VALUES ('$title', '$firstname', '$middlename', '$surname', '$priornames', '$reasons', '$birthplace', '$dob_month', '$dob_day', '$dob_year', '$sex', '$nigeria_address', '$state_of_origin', '$lga', '$current_address', '$phone', '$fax', '$occupation', '$eyes', '$hair', '$height', '$weight', '$marital_status', '$kinname', '$kin_address', '$kin_relationship', '$date_posted')
//
if(mail($to, $subject, $message, $headers))
{
echo "Your application has been submitted!";
}
} ?>