Re: Inserting variables (Saga Continues)
| From: | anti at puusepp dot neti | Date: | Wed, 10 Oct 2001 11:36:54 +0000 |
| Subject: | Re: Inserting variables (Saga Continues) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-70625@lists.php.net to get a copy of this message | ||
-- $sqlstatement = "INSERT INTO mytable ('$q1', '$q2',
'2001-10-09')"
Insert To WHERE ????
As I know there should be also field names ...
IE.
INSERT INTO mytable (field1, field2, date1) VALUES('$q1', '$q2',
'2001-10-09')
PS. Please remove last 'i' to reply.