Re: SQL Error
| From: | Johannes Janson | Date: | Thu, 02 Aug 2001 13:43:26 +0000 |
| Subject: | Re: SQL Error | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10994@lists.php.net to get a copy of this message | ||
Hi,
[...]
> Any ideas?
>
> $add_contact_sql = "INSERT INTO $table_name
> (ContactID, FirstName, LastName, Title, WorkPhone,
> HomePhone,Mobile,EmailName,Birthday,CompanyID)
> VALUES
> ('',
> '$FirstName',
> '$LastName',
> '$Title',
> '$WorkPhone',
> '$HomePhone',
> '$Mobile',
> '$EmailName',
> '$Birthday',
> '$ContactID',
is that comma really there??? if so this might be the problem.
> )";
cheers
johannes