|
Posted by max on 10/11/91 11:24
On Tue, 16 Aug 2005 19:41:47 +0200, Stefan Rybacki <stefan.rybacki@gmx.net>
wrote:
>max wrote:
>> On Tue, 16 Aug 2005 10:20:37 +0200, Stefan Rybacki <stefan.rybacki@gmx.net>
>> wrote:
>>
>> >Jeffrey D Moncrieff wrote:
>> >> I have some data in a data base in Paragraphs format I I setup the column
>> >> type as LONGTEXT. How do set up my php to display this in Pargraph right now
>> >> It does not seem to it is word warp in one big line or I put<nowap> but
>> >> does not seem to be backing the lines. I took a look with mysqlclient and
>> >> it seems to be in the format I what in the mysql client it self.
>> >>
>> >
>> >have a look at nl2br();.
>> >
>> >Regards
>> >Stefan
>>
>> Actually being of help would have been easy by advising Jeffrey to process
>> the paragraph of text like so -
>>
>> $paragraph=nl2br($paragraph);
>
>Ok, thanks max. Well I'm sorry that I blamed Jeffrey to be able to read a manual.
>This is a newsgroup, and we give hints, sometimes examples and even solutions on much more
>complex problems. And by presenting Jeffrey a solution for this really easy to solve
>problem wouldn't help him the next time he has a similar problem. But pointing him in a
>direction how to solve his problem will help him much more.
>
>Regards
>Stefan
He came here for an answer to his problem - not to join another of your
endless correspondence courses. Give him his answer and the URL of
www.php.net and his problem is solved. Admittedly, it means we don't get to
watch you strut about on the newsgroup stage, but we all have to make
sacrifices.
[Back to original message]
|