Heidi Belal wrote:
> I have a problem using apostrophes/single quotes.
> I am using PHP and MySQL. The user enters data into
> the text field and everything goes ok, until an
> apostrophy/single quote is added in the middle of the
> text - then disaster occurs!
Use addslashes() on the text before inserting it into the database.
http://php.net/addslashes
regards
Wagner
--
Madness takes its toll. Please have exact change.
--
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]