Re: MySql database data has html code in it

From: Date: Sun, 02 Sep 2001 02:50:02 +0000
Subject: Re: MySql database data has html code in it
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-12085@lists.php.net to get a copy of this message
That did it thanks for the help. -- Cross Walk Central www.crosswalkcentral.net Support Center Your Web Hosting Community! "Paul Burney" <burney@gseis.ucla.edu> wrote in message news:B7B6E7E2.33C1%burney@gseis.ucla.edu... > on 9/1/01 7:12 PM, CrossWalkCentral at support@crosswalkcentral.net wrote: > > > Yea I tried that before I posted I even tried editing the data in the table > > to but the <pre> before and </pre> after and it still will not show it. > > You need to encode the < and > characters. You can do so via the > htmlspecialchars() function. > > <http://php.net/manual/en/function.htmlspecialchars.php> > > Sincerely, > > Paul Burney > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > Paul Burney > Webmaster && Open Source Developer > UCLA -> GSE&IS -> ETU > (310) 825-8365 > <webmaster@gseis.ucla.edu> > <http://www.gseis.ucla.edu/> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > >

« previous php.db (#12085) next »