Hi,
I'm just a newbie and don't know that much but would putting:
Echo (<pre>$code</pre>);
solve the problem. That's what most people use to display HTML code on an
HTML page.
As I said I'm new and I never tried it. But you can try and see if it works.
Ali
-----Original Message-----
From: CrossWalkCentral [mailto:[EMAIL PROTECTED]]
Sent: September 1, 2001 6:46 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] MySql database data has html code in it
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]
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
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]