Variables are treated like simple text in your request :
Try this
$sql = "UPDATE elevi SET ADRESAE = '".$adresa_e."' WHERE NR_MATRICOL = '".$nr_matricol."'" ;
solved Could not update data: You have an error in your SQL syntax;
Variables are treated like simple text in your request :
Try this
$sql = "UPDATE elevi SET ADRESAE = '".$adresa_e."' WHERE NR_MATRICOL = '".$nr_matricol."'" ;
solved Could not update data: You have an error in your SQL syntax;