Hi Rick,

> How can I combine that line of code with 
> str_replace() or some other replace function 
> in order to turn "\n" into "<br>" for each line. 

I think you're looking for http://www.php.net/nl2br. Specifically:
  for ($i = 7; $i < sizeof($info); $i+=1)
    echo nl2br($info[$i]); 


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to