[Solved] Could not update data: You have an error in your SQL syntax;
[ad_1] Variables are treated like simple text in your request : Try this $sql = “UPDATE elevi SET ADRESAE = ‘”.$adresa_e.”‘ WHERE NR_MATRICOL = ‘”.$nr_matricol.”‘” ; [ad_2] solved Could not update data: You have an error in your SQL syntax;