[PHP-DB] Re: retaining and displaying line returns in a text field

2006-01-08 Thread El Bekko
Frank Flynn wrote: This is an HTML issue (not PHP or MySQL) that is HTML ignores carriage returns (and most other white spaces). There are two simple solutions: use tags: echo " $rmks"; Or replace the \n with "" $newRmks = str_replace ( "\n", "", $rmks ); echo $newRmks; You can do

[PHP-DB] Re: retaining and displaying line returns in a text field

2006-01-06 Thread Frank Flynn
This is an HTML issue (not PHP or MySQL) that is HTML ignores carriage returns (and most other white spaces). There are two simple solutions: use tags: echo " $rmks"; Or replace the \n with "" $newRmks = str_replace ( "\n", "", $rmks ); echo $newRmks; You can do this going into or