MySQL Forums
Forum List  »  PHP

Re: PHP and MySQL form problems
Posted by: Felix Geerinckx
Date: June 15, 2005 07:15AM

Martyn Coupland wrote:

> $query = "INSERT INTO table_name ('field','fname','lname','phone','fax','email','message') VALUES
> ('', 'fname', 'lname', 'phone', 'fax', 'email', 'message')";

Column names should *not* be single or double quoted. If you insist on quoting them, use backticks (`).

Please use BBCode to format your messages in this forum.

Options: ReplyQuote

Written By
Re: PHP and MySQL form problems
June 15, 2005 07:15AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.