RE: [PHP-DB] Quotes, double-quotes, and the like.

From: Date: Mon, 17 Sep 2001 15:11:31 +0000
Subject: RE: [PHP-DB] Quotes, double-quotes, and the like.
Groups: php.db 
Request: Send a blank email to php-db+get-12499@lists.php.net to get a copy of this message
If the essays will be long, I'd suggest storing them in separate files and storing the file name for each essay in the MySQL database. -----Original Message----- From: Ari M. Roth [mailto:pyranf@hotmail.com] Sent: Sunday, September 16, 2001 3:15 PM To: php-db@lists.php.net Subject: [PHP-DB] Quotes, double-quotes, and the like. I'm trying to create a web-based interface that will allow me to save essays to a mySQL database for display on a website. The problem is that it may include HTML in it, so I need to preserve double-quotes in their original context. Right now, they are not encoding correctly for some reason. An HTML link, for example, to http://www.yahoo.com would come out as this: http://localhost/"http://www.yahoo.com" addslashes() accomplished nothing, and I'm at a loss. Any ideas? Thanks. Later... -Ari -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#12499) next »