Hi,
Alright, let's say that there's a product page with a product uploaded by a user. There is a rating input and everytime the rating input changes it calculates a new product average. (This part already works fine)
So I have the average linked to that specific product in databaseOne, the user's ('owner of the product') data in another database, databaseTwo, also linked to the specific product. Now I want (also when the rating input changes) to calculate the overall average of ALL the products uploaded by that specific user. (So you can see how high buyers rated the products of that user)
I'm not that good at coding so I can't seem to figure it out, does anyone knows how to solve this? I would really appreciate it, thanks! :)