Posted By

saturngod on 04/27/10


Tagged

textarea linkbreak


Versions (?)

Textarea line break to br


 / Published in: PHP
 

  1. <?php
  2.  
  3. //$string from textarea
  4. echo nl2br($string)
  5.  
  6. ?>

Report this snippet  

You need to login to post a comment.