Hi guys thanks for the reply. i think some peeps mis read my point.
It could be any number that is past in the url. I just wan to check that there is a var in the url(a number in this case) and if ther is assign a var to hold that number.
if (isset($_SERVER['QUERY_STRING'])) {
$someVar =$_SERVER['QUERY_STRING'];
}
Am i right in assuming that $somvar will hold whatever was passed in the url?