RE: [PHP] php and sql problem with mysql_query and insert

From: Date: Wed, 29 Jan 2003 13:01:54 +0000
Subject: RE: [PHP] php and sql problem with mysql_query and insert
Groups: php.general 
Request: Send a blank email to php-general+get-133482@lists.php.net to get a copy of this message
Have you tried echo'ing out the variable before and after the mysql_query? > -----Original Message----- > From: 1LT John W. Holmes [mailto:holmes072000@charter.net] > Sent: Wednesday, January 29, 2003 6:20 AM > To: Sunfire; php-general@lists.php.net > Subject: Re: [PHP] php and sql problem with mysql_query and insert > > > > im having a little problem with mysql_query("insert into members > > ('$company', '$name1', '$name2', '$address1', > > '$address2', ''$ac1', > '$ext2', > > '$num1', '$ac2', '$ext2', '$num2', > > '$city', '$state', > '$zip', '$desc', > > '$flags')"); > > > > for some reason those variables are empty by the time they > get into the > > table... > > Where are those variables coming from then? If the data in > the table is > empty, then these variables are empty. They can't get lost > along the way or > anything... > > ---John Holmes... > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#133482) next »