Try echo htmlspecialchars($code) to display the html.

"Crosswalkcentral" <[EMAIL PROTECTED]> wrote in message
> Hello
> Another question for the pros.
> I have a Mysql database which contains a table labled html
> in this table I have some short html scripts
> I have created a search for my scripts and when I Echo them (example code
> below) It only shows me the text and not the html script itself
> Echo ($code);
> Is their another function that I can use to display to contents of this
> variblae?
> I assueme that PHP is trying to process it as part of the echo statement.
> --
> Cross Walk Central
> www.crosswalkcentral.net
> Support Center
> Your Web Hosting Community!

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]

Reply via email to