Invalid parameter number: number of bound variables does not match number of tokens in C:\wamp\www\midtermexam\update.php on line 78 : <p>Please help, this is my midterm exam, i got stucked for three days :(</p>

<pre><code>        if(!isset($errMSG))
        {
            $stmt = $DB_con-&gt;prepare('UPDATE tbl_students 
                                         SET studName=:studname, 
                                             studCourse=:studcourse,
                                             studAddress=:studaddress,
                                             studGender=:studgender,
                                             studPic=:studpic 
                                       WHERE studID=:studid');
            $stmt-&gt;bindParam(':studname',$studname);
            $stmt-&gt;bindParam(':studcourse',$studcourse);
            $stmt-&gt;bindParam(':studpic',$studpic);
            $stmt-&gt;bindParam(':studid',$studid);

            if($stmt-&gt;execute()){
</code></pre>
