Re: Pulling information out of a MySQL database

From: Date: Mon, 26 Nov 2001 11:36:36 +0000
Subject: Re: Pulling information out of a MySQL database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-75709@lists.php.net to get a copy of this message
Im new to php but I would suggest using a <pre></pre> tag to wrap round your text output. This should keep any formatting. I think......... Tim Thorburn wrote: > Thanks to everyone for their help - especially Martin, that fixed my > problem and now all the records (both basic and extended) display properly. > > I did have one last aesthetic question ... I have one field set as TEXT > which holds descriptions of the events. When the information was entered > into this field, in many cases, spaces between lines were entered ... > however, when I pull the info from the database onto the webpage ... all my > line formatting is erased and its just one continuous line of text. Is > there a way to maintain my line formatting with spaces? > > Its not mission critical or anything ... just one of those things that > would be nice. > > Thanks again > -Tim > > -- > 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 (#75709) next »