RE: [PHP-DB] Mysql not receiving the data
| From: | Andrew Rothwell | Date: | Sun, 13 Jun 2004 19:07:48 +0000 |
| Subject: | RE: [PHP-DB] Mysql not receiving the data | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-34765@lists.php.net to get a copy of this message | ||
Thank you everybody that responded so quickly -
I used the suggestion of Franciccio - and the data is now gow into the db
Thank you very much - I really appreciate the help.
Another question - with this fix in place - do I still need the
register_globals = On ?
Or can I now turn it off?
Thank you all again
Andrew
-----Original Message-----
From: franciccio [mailto:frankrude@hotmail.com]
Sent: Sunday, June 13, 2004 12:26 PM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Mysql not receiving the data
I agree, the slashes are killing the query. I would suggets doing this:
$add = "INSERT INTO movies SET
> movie_name=\"$movie_name\",
> genre=\"$genre\",
> director=\"$director\",
> star1=\"$star1\",
> star2=\"$star2\",
> star3=\"$star3\",
> brief_synopsis=\"$brief_synopsis\",
> imdb_link=\"$imdb_link\"";