If you're sending it through the URL, and no matter what the url will look like:
library.php?web_id=202
library.php?web_id=57
library.php?web_id=306
Then you would want to use $_GET['web_id'] and see if that's <= 100, <= 200, <= 300, etc.
<?php
$id = $_GET['web_id'];
switch(true)
{
case $id <= 100:
break;
case $id <= 200:
break;
case $id <= 300:
break;
default:
break;
}
Get the idea?
Now, if you constantly change that URL to be:
library.php?web_id=202
library.php?card_id=135
library.php?brochure_id=57
etc.
then I would suggest you remove the "whatever_" from the URL and just use:
library.php?id=XXX
Then do the switch and look at $_GET['id'].