<?php $url = 'http://www.target.com/?id=1&module=test&page=index'; $pos = strrpos($url, '='); $target = substr($url, 0, ($pos+1)); echo $target;
You have javascript disabled. You will not be able to edit any code.