Hi all, long time visitor, first time poster!
I am new to PHP and have been stuck for a LONG time on the following problem:
I am trying to edit a program which someone else made which gets the current user id and displays correct values for that user id...however, I want it to display all usernames and values.
Here is what I have so far (from the modified code). I made a few aesthetic changes to make it easier to read, which would result in minor errors, but the code is the same I only changes the values for the $userResult variable. The rest get info for the current user_id.:
Alot of things in there are included functions as I am sure you could have guesses.
Again what I want is a table that displays all user names, total amount, event 1 amount, event 2 amount (...) event 5 amount...so 7 columns that need filling in; 1 of which I have done.
I changed some of the names because it isn't my code, but if you would like to help me 1 on 1, or need me to post more here, I will...just ask!
Thanks in advance for the help!