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

From: Date: Thu, 17 Oct 2002 22:32:08 +0000
Subject: RE: [PHP] Problems when I insert a record into a mysql table...
Groups: php.general 
Request: Send a blank email to php-general+get-120418@lists.php.net to get a copy of this message
Ok...so that yoru SQL snippett. Now exactly what is the problem? (error messages, more code including mysql_ statements) normally help. What does the actual database look like? etc etc -Peter > -----Original Message----- > From: Jorge Albores [mailto:jalbores@maringuizar.com] > Sent: Friday, October 18, 2002 00:56 > To: php-general@lists.php.net > Subject: [PHP] Problems when I insert a record into a mysql table... > > > Hi all, > > I have some troubles when I try to insert a new record into a > mysql table > I'm learning PHP, I live in Mexico. > > This is the fragment of the program... > > $altas="INSERT INTO ordenes > (orden,fecha,hora,Cliente,Contacto,domicilio,telefono) VALUES > ($orden,$fecha,$hora,$Cliente,$Contacto,$domicilio,$telefono)"; > $resultado = mysql_query($altas); > > Please someone help me.... > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#120418) next »