unexpected T_ELSE error in my code, can someone see it?
===

I cant find my error, can i have some help? Im trying a login code with a cookie. Thank you in advance! I just cant seem to see my error. I was hoping someone can see something that i am missing. The error is somewhere at the 47th Line, but i know that doesnt exactly mean that that is where it is.

    <?php
    if(isset($_POST['sent']) && $_POST['sent'] == "yes")
    {
    foreach($_POST as $field => $value)
    {
    if($value == "")
    {
	$blank_array[$field]= $value;
    }
    else
    {
	$good_data[$field]=strip_tags(trim($value));
    }
    }
    }

    if(@sizeof($blank_array) > 0)
    {
    $message = "<p style='color: red; margin-bottom: 0; font-weight: bold'> Error.</p>";
    extract($blank_array);
    extract($good_data);
    include("form_log.php");
    exit();
    }

    include("dbstuff.php");
    $cxn = mysqli_connect($host,$user,$password,$database) or die ("coulnt connect");
    $query = "SELECT first_name FROM customer WHERE user_name='$_POST[user_name]' AND       password=md5('$_POST[password]')";
    $result = mysqli_query($cxn,$query) or die ("couldnt query");
    $n_row = mysqli_num_rows($result);

    if($n_row < 1)
    {
    $message = "<p style='color: red; margin-bottom: 0; font-weight: bold'> Not found.     </p>";
     extract($_POST);
    include("form_log.php");
    exit();
    }
    else
    {
    $row=mysqli_fetch_assoc($result);
    setcookie("first_name",$row['first_name']);
    setcookie("auth","yes");
    header("Location: secret_page_cookie.php");
    }

    else
    {
    $user_name = "";
    $password = "";
    include("form_log.php");
    }
    ?>

