Re: php and sql problem with mysql_query and insert
| From: | 1LT John W. Holmes | Date: | Wed, 29 Jan 2003 11:19:58 +0000 |
| Subject: | Re: php and sql problem with mysql_query and insert | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133481@lists.php.net to get a copy of this message | ||
> 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...