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" <[EMAIL PROTECTED]>
To: "Brandon Orther" <[EMAIL PROTECTED]>
Cc: "Php-General" <[EMAIL PROTECTED]>
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 <[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]
>
>


-- 
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