RE: [PHP-DB] MySql database data has html code in it

From: Date: Sun, 02 Sep 2001 02:14:50 +0000
Subject: RE: [PHP-DB] MySql database data has html code in it
Groups: php.db 
Request: Send a blank email to php-db+get-12080@lists.php.net to get a copy of this message
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:support@crosswalkcentral.net] Sent: September 1, 2001 6:46 PM To: php-db@lists.php.net 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: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

« previous php.db (#12080) next »