I have stipped some HTML into an array and taken two two bits of information and built them into a two dimensional array (product type, account number). These are related on a one to one basis. Within each Product Type are multiple funds, I want to return to the HTML and strip out the funds (which I can do) and put them into a new table and reference the funds to the product type. There may be multiple funds within a product type and this is the problem. Do I just add in loads of fund columns to the array and populate them? I'd rather have a one to many reference within the code. Any ideas?