PinkFloyd
-
Posts
1 -
Joined
-
Last visited
Never
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
PHP Dreamweaver - repeat recordset issue
in Editor Help (PhpStorm, VS Code, etc)
Posted
Hellow,
I'm having trouble with the following :
I'm creating an "average shot" site for archers. It runs on a database including a single table with a unique row-ID, person, date and # shots.
Each member sees (using his login info) his own # shots per day/week/month/year, and for each of those categories, an average.
Now I want to make an overview of all the members, including their name, average this week, average this month, total last month, total this month and total this year.
So I have a general recordset getting me the existing users.
Then, for one user, I have recordsets getting/calculating the different results.
These, however, now display the same results for everyone (those of the first person on the list).
How can I get these recordsets to display a result for each existing record in the first recordset ?
=====================
Recordsets :
And the code in the HTML part :
And, off course, closing the recordsets :
Any help on this would be greatly appreciated!
PF