RE: [PHP-WIN] FORMATTING HTML IN AND OUT OF MYSQL

From: Date: Sat, 03 Feb 2001 20:16:36 +0000
Subject: RE: [PHP-WIN] FORMATTING HTML IN AND OUT OF MYSQL
Groups: php.windows 
Request: Send a blank email to php-windows+get-5365@lists.php.net to get a copy of this message
Thanks guys, I will try everything out and Ride back. Bikes -----Original Message----- From: Tom Mathews Cc: php-windows@lists.php.net Sent: 2/2/01 11:24 AM Subject: Re: [PHP-WIN] FORMATTING HTML IN AND OUT OF MYSQL .. or www.mysql.com/downloads/contributions - there's a whole class in there to handle HTML with MySQL phobo wrote: > see http://www.php.net/manual/en/function.nl2br.php > > siggy > > ----- Original Message ----- > From: "Bikes" <bikes@frankadel.com> > To: "'Robert Trembath '" <robert@ishoptech.com>; <php-windows@lists.php.net> > Sent: Friday, February 02, 2001 7:38 PM > Subject: [PHP-WIN] FORMATTING HTML IN AND OUT OF MYSQL > > > I have a little problem. > > > > I need to allow my clients to update the news on their website via a form. > > > > The form is supposed to allow them input Latest news etc. and then it is > > written into a database, and taken out on the other end by then index > page. > > > > The problem now, is that I when I put the text into the database, it is no > > more formatted when I am pulling the info out of the database. All the > > paragraphs, and line breaks are lost, and the whole text is lumped > together. > > I need to be able to write the HTML of what the user typed into the > database > > so I can "echo" out the info, representing <BR> with line breaks etc. > > > > Also, in the event that I do not use a database, is it possible to use > files > > to achieve the same results? Eg "include files"? > > > > > > > > Thanks > > > > Bikes da Bikerider > > > > ------- > > Riding into the next century > > ------- > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net <<ATT00138.txt>>

« previous php.windows (#5365) next »