Ver Mensaje Individual
  #5 (permalink)  
Antiguo 13/05/2010, 15:11
Avatar de lukas4
lukas4
 
Fecha de Ingreso: octubre-2008
Ubicación: frente al pc
Mensajes: 496
Antigüedad: 15 años, 6 meses
Puntos: 12
Respuesta: Insert no me funciona bien

hazlo asi:
Código PHP:
Ver original
  1. mysql_query("INSERT INTO datosclientesbkp(ciudad,empresa) VALUES('$sltcolombia','$txtempresa')");
o asi:
Código PHP:
Ver original
  1. $clientecol="INSERT INTO datosclientesbkp(ciudad,empresa)
  2.                VALUES('$sltcolombia','$txtempresa')";
  3. if(!mysql_query($clientecol)){
  4.    die('error: '.mysql_error());
  5. }
__________________
http://situcomo.blogspot.com
Karma is a Bitch... they said