PHP Fatal error: Cannot use try without catch or finally : <p>I am getting the following error on my web page<strong>Fatal error: Cannot use try without catch or finally <em>in apply-for-job.php on line 13</em></strong> and I cant find the error myself pleas I need help Thanks. Bellow is my code:-</p>

<pre><code>&lt;?php 
    include 'connect.php';
    if(isset($_POST['apply']))
    {
        $fname = $_POST['firstname'];
        $mname = $_POST['middlename'];
        $lname = $_POST['lastname'];
        $city = $_POST['city'];
        $state = $_POST['state'];
        $education = $_POST['education'];
        $vaccancy = $_POST['position'];

        try{

            $stmt = $db_con-&gt;prepare('INSERT INTO tbl_employment(firstName,middleName,lastName,userCity,userState,userEducation,userPosition) VALUES (:fname, :mname, :lname, :ucity, :ustate, :uedu, :uvacca)');
            $stmt-&gt;bindParam(":fname", $fname);
            $stmt-&gt;bindParam(":mname", $mname);
            $stmt-&gt;bindParam(":lname", $lname);
            $stmt-&gt;bindParam(":ucity", $city);
            $stmt-&gt;bindParam(":ustate", $state);
            $stmt-&gt;bindParam(":uedu", $education);
            $stmt-&gt;bindParam(":uvacca", $vaccancy);
            if ($stmt-&gt;execute())
            {
                $message="success";
            }
            else{
                $message="error";
            }
        }
    }

?&gt;
</code></pre>

<p>And my line 13 is located where <strong><code>try{</code></strong> is</p>
