MySQL Forums
Forum List  »  MySQL Query Browser

Re: query
Posted by: Matthew Inman
Date: October 17, 2005 03:00PM

Your syntax is incorrect.

It should be;
$query = "INSERT INTO page_links (linkID, pageID, submenu, order, description, link) VALUES ('default', '0', '$select', '$priority', '$title', 'index.php')";


See the insert syntax in the mysql docs.
http://dev.mysql.com/doc/refman/5.0/en/insert.html

Options: ReplyQuote


Subject
Written By
Posted
October 17, 2005 01:32PM
Re: query
October 17, 2005 03:00PM


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.