RE: [PHP] Problems when I insert a record into a mysql table...

From: Date: Thu, 17 Oct 2002 23:40:41 +0000
Subject: RE: [PHP] Problems when I insert a record into a mysql table...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-120439@lists.php.net to get a copy of this message
Well, it's a mysql question rather than a php question but that seems to be a common thing around here... > $altas="INSERT INTO ordenes > (orden,fecha,hora,Cliente,Contacto,domicilio,telefono) VALUES > ($orden,$fecha,$hora,$Cliente,$Contacto,$domicilio,$telefono)"; > $resultado = mysql_query($altas); $altas="INSERT INTO ordenes (orden,fecha,hora,Cliente,Contacto,domicilio,telefono) VALUES ('$orden','$fecha','$hora','$Cliente','$Contacto','$domicilio','$telefon o')"; This might fix the problem although without knowing more about what error you are getting and what else is going on it's hard to know for sure. CYA, Dave

« previous php.general (#120439) next »