Ver Mensaje Individual
  #10 (permalink)  
Antiguo 03/08/2010, 18:02
Avatar de truman_truman
truman_truman
 
Fecha de Ingreso: febrero-2010
Ubicación: /home/user
Mensajes: 1.341
Antigüedad: 15 años
Puntos: 177
Respuesta: Problema con el Select

Faltan comillas
Código PHP:
aca $_REQUEST[viejopiloto
sería asi
Código PHP:
 $_REQUEST['viejopiloto'
y faltan comillas y puntos aca :

Código PHP:
mysql_query("update torngrid_carreras set primpuesto='$_REQUEST[nuevopiloto]' where primpuesto='$_REQUEST[viejopiloto]'",$conexion) or die("Problemas en el select:".mysql_error()); 
sería asi:

Código PHP:
mysql_query("update torngrid_carreras set primpuesto='".$_REQUEST['nuevopiloto']."' where primpuesto='".$_REQUEST[viejopiloto]."'",$conexion) or die("Problemas en el select:".mysql_error()); 
__________________
la la la