Re: MySQL and PHP
| From: | DL Neil | Date: | Fri, 18 Jan 2002 10:29:16 +0000 |
| Subject: | Re: MySQL and PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81057@lists.php.net to get a copy of this message | ||
Brandon,
Please do some 'homework': Will the native query run from the MySQL command line, or in a
admin tool? Have you
tried varying the number of fields? What are the column specifications?
In and amongst this you might like to check where you should have spaces (a) for legibility
(particularly if
you're asking us to read it to help you), and (b) for machine parsing requirements.
=dn
----- Original Message -----
From: "hugh danaher" <hdanaher@earthlink.net>
To: "Brandon Orther" <orther@webintellects.com>
Cc: "Php-General" <php-general@lists.php.net>
Sent: 18 January 2002 01:14
Subject: Re: [PHP] MySQL and PHP
> 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
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>