Re: Quotes, double-quotes, and the like.
| From: | Justin Buist | Date: | Mon, 17 Sep 2001 15:31:36 +0000 |
| Subject: | Re: Quotes, double-quotes, and the like. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-12500@lists.php.net to get a copy of this message | ||
On Sun, 16 Sep 2001, Ari M. Roth wrote:
> 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.com8+4ø~ ß
> ŽoWiAàÜ would
> come out as this:
>
> http://localhost/"http://www.yahoo.com"
>
> addslashes() accomplished nothing, and I'm at a loss. Any ideas?
You should probably paste the HTML form and perhaps the PHP code which
does the actual insersts -- it's completely illogical that
"http://localhost/" would magically appear before a
field name. At least
in my book.
Justin Buist
Trident Technology, Inc.
4700 60th St. SW, Suite 102
Grand Rapids, MI 49512
Ph. 616.554.2700
Fx. 616.554.3331
Mo. 616.291.2612