How do you create ascii line breaks in a text paragraph in mysql?.

When displaying text taken from a mysql row it displays it all as a flowing paragraph  
ie

sdf sdfgfj fgjhgfh fgj fgj hfj hj  hg gh hgk ghk gj gh kg k hg hg jh j fgj fg

When i need to look like

sdf sdfgfj fgjhgfh
fgj fgj hfj hj  
hg gh hgk ghk 
gj gh kg k hg 
hg jh j fgj fg


I am dispalying it in a webbrowser using the below code which will convert ascii 
line breaks into HTML <br> tags. but i am unsure how to put in the ascii line breaks
into mysql.

<?php echo nl2br($row_myRecordset['myField']); ?>







Reply via email to