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:[EMAIL PROTECTED] 
Sent: Sunday, June 13, 2004 12:26 PM
To: [EMAIL PROTECTED]
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\"";

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to