title: Error during data UPDATE in php
body: <pre><code>$sql = "UPDATE tblprofile SET name = '$membername' ,
                                          f_h_name = '$fathername', 
                                          maritalS = '$mstatus' , 
                                          dob = '$dob' , 
                                          occupation = '$occupation' , 
                                          nominee = '$nominee' , 
                                          address1 = '$address1' , 
                                          address2 = '$address2',
                                          city = '$city',
                                          district = '$district',
                                          state = '$state',
                                          pin = '$areapin',
                                          mobile = '$mobileno',
                                          email = '$email',
                                          PANno = '$panno',
                                          bankname = '$bankname',
                                          branch = '$branch',
                                          accountno = '$accountno'
                                          WHERE userId = '$_SESSION['UserId']' "; //line 212
      if(mysql_query($sql))
      {
          echo "Updation Done.";
      }
  </code></pre>
  
  <p><strong>Error comes in browser :</strong> <code>Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\xampp\htdocs\303\saveEditProfile.php  on line 212</code></p>