Hi all Finally managed to get everything working.. a case of deleting one of a repeated variable in the template file that was causing the problem! Many thanks for all your help, much appreciated! Mark