Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 31st, 2012  |  syntax: None  |  size: 0.20 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. outputting \r\n after text is decoded - PHP
  2. Hello  
  3. World
  4.        
  5. HellornWorld.
  6.        
  7. stri_replace("rn","n",$db_string);//or something similar
  8.        
  9. stri_replace(array("rn","n","r"),'<br />',$db_string);