Re: Re: Returning html code-PROB SOLVED

From: Date: Mon, 17 Dec 2001 23:33:24 +0000
Subject: Re: Re: Returning html code-PROB SOLVED
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-78029@lists.php.net to get a copy of this message
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 > s.osborne@chinookmultimedia.com > > <?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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#78029) next »