I have found the
is_integer() [php.net] but I cant figure out how to check if it is possible to check for a positive number withing a range. I intend to stop users trying to knacker the system by messing with the querystring parameter.
Do I need to do anything else to protect my db from nasty folk?
Cheers