Posted by Captain Paralytic on 06/11/07 08:53
On 11 Jun, 03:12, "Mr. Newt" <lektrikpuke@_yahoo.com> wrote:
> What is wrong with the below?
>
> $sql=mysql_query("INSERT INTO advertiser_tbl WHERE adv_id='7' (adv_name,
> cont_name)
> VALUES ('Peter', 'Griffin')");
It doesn't match any of the valied syntaxes as shown in the manual:
http://dev.mysql.com/doc/refman/5.0/en/insert.html
[Back to original message]
|