problem reading fields from db with quotes

From: Date: Wed, 17 Oct 2001 18:57:05 +0000
Subject: problem reading fields from db with quotes
Groups: php.general 
Request: Send a blank email to php-general+get-71380@lists.php.net to get a copy of this message
Hi, I read data from a MySQL database, create the formatted html and assign all the code to a variable for sending as a html-based email. But if record data contains quotes, for example if the value in field4 is: team "Super Dave" note the quotes around the Super dave. The output will stop at the end of team and dump anything after the first quote. How can I get around this???

« previous php.general (#71380) next »