RE: [PHP] newbie question

From: Date: Wed, 05 Apr 2006 15:04:47 +0000
Subject: RE: [PHP] newbie question
Groups: php.general 
Request: Send a blank email to php-general+get-233267@lists.php.net to get a copy of this message
[snip] I'm developing my first php mysql site and have hit a stumbling block regarding how text is being returned out of the database. This is the code that I'm using on the display page. It is displaying the returned text as one long paragraph, instead of mulitiple paragraphs: <p><?php echo $row_GetWritings['Writings_Text']; ?></p> --------------- This block of code is from the CMS edit page which is correctly displaying the text as multiple paragraphs: <td><textarea name="Writings_Text" cols="50" rows="5"><?php echo $row_GetWritings['Writings_Text']; ?></textarea> </td> -------------------- The only difference is the textarea tag from the form. What am I missing? I've looked through numerous books and dozens of web pages without finding anything that makes sense to me. Lots of references to n12br which I have no idea how to implement. [/snip] Read this http://www.php.net/nl2br

« previous php.general (#233267) next »