Estoy intentado actualizar datos de un usuario en mysql. Alguien puede identificarme el motivo por el cual me sale el siguiente 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
Este es mi query:
$insertar="UPDATE usuarios SET dip='".$dip0."', nombre='".$nombre0."', apellidos='".$apellidos0."', sexo='".$genero0."', telefono='".$telefono0."', correo='".$correo0."', username='".$username0."' WHERE id='".$id0."'";
Si necesitan más información para identificar el problema, díganme, porfavor.
"UPDATE usuarios SET dip='".$dip0."', nombre='".$nombre0."', apellidos='".$apellidos0."', sexo='".$genero0."', telefono='".$telefono0."', correo='".$correo0."', username='".$username0."' WHERE id=".$id0;