Have you tried echo'ing out the variable before and after the mysql_query? > -----Original Message----- > From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 29, 2003 6:20 AM > To: Sunfire; [EMAIL PROTECTED] > 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 >
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php