By patoshi on
I'm trying to get this code to work... it seems as if just ignore's preg_replace line completely...
$editurl = 'node';
$find = '/node/';
$replace = 'Z';
preg_replace($find, $replace, $editurl);
OUTPUT Should be: Z
But i am getting: node
WHY? .. its driving me crazy..