Re: Returning html code-PROB SOLVED
| From: | Steve Osborne | Date: | Tue, 18 Dec 2001 00:35:58 +0000 |
| Subject: | Re: Returning html code-PROB SOLVED | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-78028@lists.php.net to get a copy of this message | ||
<snip>
> Does anyone know of an easy way to store html code in a mysql database,
and
> then retreive it, in such a way that it can display the page as if it were
a
> standard html page? Would using php be of benefit to me?
<snip>
Figured it out. I completely forgot about two php functions that escape
problem characters in databases and unescape them when retrieved.
Problem solved.
Steve Osborne
s.osborne@chinookmultimedia.com
<?php
/* Happy Holidays */
mysql_select_db('North_Pole');
mysql_query('SELECT reindeer FROM stable WHERE nose_color="red"');
?>