queerfm
04-17-2009, 12:03 PM
Hi I am wanting to change | to <br/> but i don't know how I am including a txt file into a php script and i want it to change the | into a <br/>. I was wondering if any one would know how.
$files = include("modules/mod_oneononechat/chatfiles/$me.txt");
$snr = new str_replace( "|", '<br/>', $files) ;
$snr -> doSearch() ;
$files = include("modules/mod_oneononechat/chatfiles/$me.txt");
$snr = new str_replace( "|", '<br/>', $files) ;
$snr -> doSearch() ;