MySQL / PHP / Escaping the " - Never Mind

by Nathan Lyle <nathan(at)upwebmaestro.com>

 Date:  Tue, 11 Jun 2002 00:27:24 -0400
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
Figures...as soon as I beg for help, I find an answer.

I did some more looking in the online php docs and found
htmlspecialchars ( string string [, int quote_style [, string
charset]]) which does the trick beautifully (and even includes other
characters than quotes which I hadn't gotten around to worrying about
yet.)

http://www.php.net/manual/en/function.htmlspecialchars.php (for anyone
else interested in the same issue...)

~ The U.P. Web Maestro (Nathan Lyle)

  E-Mail: nathan(at)upwebmaestro.com
  Online: www.upwebmaestro.com
   Phone: (906)485-4806

"DOS computers manufactured by companies such as IBM, Compaq, Tandy, and millions of others are by far the most popular, with about 70 million machines in use worldwide. Macintosh fans, on the other hand, may note that cockroaches are far more numerous than humans, and that numbers alone do not denote a higher life form." - New York Times, November 26, 1991.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA