Brandon,
Try using single quotes rather than doubles in the values e.g.
('something','something else')
hugh
----- Original Message -----
From: Brandon Orther <[EMAIL PROTECTED]>
To: PHP User Group <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 2:25 PM
Subject: [PHP] MySQL and PHP


> Hello,
>
> I am trying to use mysql through php.  When I try to run the following
> query it does nothing.  I am trying to figure out if it is the query or
> php I am having a problem with.  Does anyone see a problem with the
> below query? (Note: This is for mysql)
>
> QUERY:
> INSERT INTO page_properties
> (page_name,open_menu,top_image,title_image,side_images)
> VALUES("30daypolicy","comp_info2","top_aboutus","titlebar_aboutus","30da
> y");
>
> Thanx for your help,
> Brandon
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to