Re: Re[2]: [PHP] Re: I am probably dumb but why isn't this inserting stuff into my DB?
| From: | JJ Harrison | Date: | Sat, 06 Jul 2002 05:12:59 +0000 |
| Subject: | Re: Re[2]: [PHP] Re: I am probably dumb but why isn't this inserting stuff into my DB? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-105806@lists.php.net to get a copy of this message | ||
I followed that part.
I just have magic_quotes on so I don't need to use addslashes/stripslashes
--
JJ Harrison
webmaster@tececo.com
www.tececo.com
"Julie Meloni" <julie@thickbook.com> wrote in message
news:60865231.20020705203115@thickbook.com...
>
> JH> I have magic_quotes on though so useless lecture thanks for the advice
>
> Having magic_quotes on doesn't preclude your query from being invalid.
> You should still:
>
> JH> "Miguel Cruz" <mnc@stoic.net> wrote in message:
> >> 1) print out $query and try it yourself at the mysql command line.
> >>
> >> 2) print mysql_error().
>
> Any time a query fails.
>
>
> - Julie
>
> --> Julie Meloni
> --> julie@thickbook.com
> --> www.thickbook.com
>
> Find "Sams Teach Yourself MySQL in 24 Hours" at
>
> http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
>