Removal of HTML formating

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Removal of HTML formating
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-11439@lists.php.net to get a copy of this message
Use n12br() with the output from your DB to your webpage: $content = n12br($content); echo $content; HTH :-) Russ On Thu, 16 Aug 2001 09:02:44 -0500 John Roach <johnr@theclc.com> wrote: > > > -- Hello, > > I have a mysql db with a largetext field defined. When users enter > data, it drops all of the blank lines, so paragraghs run together. Is > there a way to display the output with out it being formated in html? > It works fine if you insert <br> for each blank line. It of course > drops any indents or centering. I would like to maintain any user > formating without them entering html tags. > > Thanks, > > John > > > > > > -- > 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 > To contact the list administrators, e-mail: php-list-admin@lists.php.net > #-------------------------------------------------------# "Believe nothing - consider everything" Russ Michell Anglia Polytechnic University Webteam e: r.j.michell@apu.ac.uk w: www.apu.ac.uk/webteam t: +44 (0)1223 363271 x 2331 www.theruss.com #-------------------------------------------------------#

« previous php.db (#11439) next »