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:[EMAIL PROTECTED]]
Sent: Sunday, September 16, 2001 3:15 PM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Database 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]