Multiple category/subcategory Adding
Not sure if this is the right forum to place this post, but....
I have an issue with a client adding products to multiple categories and subcategories with an e-cart created shopping site. I have attached the files for you to see as I can't find anything wrong!
Here's how it works:
Step One: Client adds a product on the product insert page.
Step Two: The product details are sent to page 'product_categ_inset.php' which uses a multiple record insert behaviour to add the product to the various categories the product needs to reside in.
Step Three: Following the category insert, the product details are sent to page 'product_SubCateg_insert.php' for a multiple subcategory insert behaviour.
The problem is that this process seems to only work sporadically ie, when we were testing it out yesterday, we managed to insert 4 products successfully into the products, category AND subcategory tables on the database. After that, the products would insert ONLY into the product table and not the category or subcategory.
As it works initially, I am at a loss as to why this operation would fail afterwards.
Any help, much appreciated.