Entry
How to -Convert particular text retrieved via PHP from Database(Oracle) into hypertext ?
May 28th, 2000 15:17
Simon Roberts, jim o'Reilly,
I'm not sure exactly what you mean, but you're probably asking how you
can display the text-strings that came from Oracle into HTML? There are
some characters that will "confuse" HTML, so you need to convert things
like less-than '<' to < and ampersand '&' to &.
There is a PHP function that does this for you : htmlspecialchars() see
http://www.php.net/manual/function.htmlspecialchars.php