I've a customer table i that table in one i need to store data of customer as a text a declare that in db that varchar(1500) while am trying to update that field i getting following erro
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's standard dummy text ever since the 1500s, when an unknown printer took a galle' at line 1"
field name is "comments1 varchar(1500);"
My query is
$sql="UPDATE customer SET comments1='".$comments1."' WHERE sno='$sno'";
how to solve it...