I finally worked out how to use ereg_replace to remove a character, only to find that I shouldn't use ereg_replace because it's been replaced by preg_replace.
I can't for the life of me, figure out how to convert the above line to preg_replace
Is a blank screen.
I've tried a couple of variations, I also managed to get it working at some stage except that it didn't do anything
Code:
$row->Note = ereg_replace(chr(188),"",$row->Note);
I can't for the life of me, figure out how to convert the above line to preg_replace
Code:
$row->Note = preg_replace("\188","",$row->Note);
No ending delimiter '' found
Code:
$row->Note = preg_replace("\chr(188)\","",$row->Note);
I've tried a couple of variations, I also managed to get it working at some stage except that it didn't do anything