Or alternatively, how do I grab anything after and including the '?' in a URL? It would be better for me to be able to have: ?resultpage=2&search=nature as a variable I can use. I've been searching all morning and I'm not having any luck... thankyou - dunstan --------------------------- Dorset, England http://www.1976design.com/ http://www.orchard.it/ http://www.maccaws.org/