[eluser]Yorkshire Pudding[/eluser]
thanks i seem to be getting somewhere now. Just an additional thought is there any way you could use the .htaccess file to grab the get variable using reg expression and rewrite the url.
not sure if this would be an easier solution or not?