hi im attempting to update a php srcipt and fixing errors and i have a error in the following block but cannot work out where
if($_SERVER['REQUEST_METHOD']=='POST' && isset($_POST['smcomplete'])){
if(empty($_POST['abouth']))
$err_h = $aboutherorhis;
elseif(strlen($_POST['abouth'])<6)
$err_h = $datashort;
else{
ERROR ON THIS LINE>>> $match = ($_POST['matchsame']=='on')?1:0;slBodyType'], $_POST['slHeightfrom'], $_POST['slHeightt
$data = array($_POST['rdgender'], $_POST['slagefrom'], $_POST['slageto'], $_POST['slDatingInterest'], mysqli_real_escape_string($link,$_POST['abouth']), $_POST['slMarital'], $_POST['slReligion'], $_POST['slEducation'], $_POST['o'], $_POST['slSmoking'], $_POST['slDrinking'], $match);
if(!yourmatch($data, $_SESSION['user_temp']))
$error = $errordata;
else{
$_SESSION['memberid'] = $_SESSION['user_temp'];
$_SESSION['memberemail'] = $_SESSION['email_temp'];
unset($_SESSION['user_temp']);
unset($_SESSION['email_temp']);
mysqli_close($link);
header('Location: '.$base_url.'members/myaccount.php');
exit();
}
}
}
Ive attempted to put
$_POST['slHeightt'];
in but it doesnt solve error
any ideas or solutions much appreciated many thanks jan x