Re: MySQL and PHP
| From: | hugh danaher | Date: | Fri, 18 Jan 2002 01:14:52 +0000 |
| Subject: | Re: MySQL and PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81013@lists.php.net to get a copy of this message | ||
Brandon,
Try using single quotes rather than doubles in the values e.g.
('something','something else')
hugh
----- Original Message -----
From: Brandon Orther <orther@webintellects.com>
To: PHP User Group <php-general@lists.php.net>
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
>