Could this be solved in any way by using nl2br()?

Mike

Phantom wrote:

> I solicit information from a text field and save the data in mysql to be 
> pulled out later and displayed as text on a webpage.
> 
> However, Carrage Returns in the text field do not appear in the webpage 
> text.
> 
> With ereg_replace() I can replace the Carriage Returns with  "\n", so 
> what is this the character I need to find in the text field to replace? 
> chr(13) ???
> 
> ereg_replace("chr(13)", "\n", $TextFieldData) ????????
> 
> Thanks.
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to