I have this code :
function queryString(){
//matches up to 10 digits in page number
$query_string = eregi_replace("page=[0-9] {0,10}&","",$_SERVER['QUERY_STRING']);
return $query_string;
}
and when im run it returns this error: Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash
preg_match...
but your code showseregi_replace...
. – Toto