I'm trying to update a user's data in mysql. Someone can identify me why I get the following error:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'dip=133.421, nombre=Antonio, apellidos=Bielo Lopez WHERE id=1' at line 1
This is my query:
$insertar="UPDATE usuarios SET dip='".$dip0."', nombre='".$nombre0."', apellidos='".$apellidos0."', sexo='".$genero0."', telefono='".$telefono0."', correo='".$correo0."', username='".$username0."' WHERE id='".$id0."'";
If you need more information to identify the problem, please tell me, please.