Hi folks, In ASP, I would commonly replace string line feeds for HTML output like this: Var = replace(value,vbcrlf,"<br>") In PHP, the following doesn't seem to work: $var = str_replace(chr(13),"\n",$value) Neither does: $var = str_replace(chr(10),"\n",$value) What am I doing wrong? Thanks!
- [PHP] str_replace help David Stoltz
- Re: [PHP] str_replace help Ashley Sheridan
- Re: [PHP] str_replace help Midhun Girish
- [PHP] SimpleXMLElement and gb2312 or big5 Peter Pei
- Re: [PHP] str_replace help Nilesh Govindarajan