Ahh.. I was about to reply but nevermind. The two functions you're talking about are addslashes() and stripslashes(). Yes those are very handy. :)
> <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 > [EMAIL PROTECTED] > > <?php > /* Happy Holidays */ > mysql_select_db('North_Pole'); > mysql_query('SELECT reindeer FROM stable WHERE nose_color="red"'); > ?> > > > > > > > > -- > PHP General 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] > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php