hi mobitec
i don't know if all the others have missed a point, or whether i'm being over patronising with this, but i think you may mean how do you get the id from the url?
if you open a page with a url such as view.php?id=1000, php creates a global array called $_GET, with all the url variables (after the ?) in.
So if you call view.php?id=1000&size=large, then in your view.php you can use the following
$id = $_GET['id'];
$size = $_GET['size'];
or you can just use
extract($_GET);
to extract the array into variables
hope that helped