0

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

1
Contributor
1
Reply
8
Views
3 Months
Discussion Span
Last Post by janicemurby
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.