Okay, i've already got this..
PHP Code:
<?php echo $HTTP_GET_VARS['w']; ?>
Which is fine, but i'd like some sort of if/else thingy. Example, if w is null (index.php?w=), then make w=9999999 or if the w variable isn't passed at all (index.php), then make w=9999999.
Hopefully that actually makes sense. I'm so very clueless when it comes to this shit.