Tema: Update
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/03/2018, 07:20
Parliament
 
Fecha de Ingreso: noviembre-2003
Mensajes: 499
Antigüedad: 20 años, 5 meses
Puntos: 7
Update

Hola: Me sale este error y no se donde estoy fallando, alguien me da una mano??
Problemas en el select: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 'set localidad = SANTA ROSA set area = 1 ' at line 3


tengo este codigo
Código PHP:
mysqli_query($conexion"update estab
                          set nest = $_REQUEST[nestn]
                          set localidad = $_REQUEST[localidadn]
                          set area = $_REQUEST[arean]  
                          set clase = $_REQUEST[clasen]  
                          set categoria = $_REQUEST[categorian] 
                          set mail= $_REQUEST[mailn]  
                          set web= $_REQUEST[webn]  
                          set domicilio= $_REQUEST[domn]  
                          set Titular= $_REQUEST[titn]  
                          set cartel= $_REQUEST[carn] 
                          set tel= $_REQUEST[teln]  
                          set obsv1=  $_REQUEST[obsv1n]  
                          set obs= $_REQUEST[obsn] 

                        where nr ='$_REQUEST[nr]'"