hmm well it works if i add the line
$subpage = $_get[subpage]
before the $page line but does not work if i place the $_get in the $page line as suggested earlier ..
and leave the rest of the code as it is .. but then it gives an undefined error for the above new line .. but with the @ added the error goes and the thing works ..
still not happy about this .. but it works - register globals is off, because it works fine with it on...but thats not the point is it?
anyother suggestions for a cleaner code .. or is this to be expected?