I have a page on my website that lists all the contributors to the site.
It pulls the NAME, CONTRIBUTOR SINCE, and LATEST SUBMISSION details from a table called authors.
I also need it to pull NUMBER OF SUBMISSIONS from a table called articles, by adding up all the articles that were written by the same person.
The table(articles) has a row called authors, that I can use for the code, but I don't know what code I should use to put it in my loop.
So far I have this:
$query = "SELECT author FROM articles WHERE ='$variable'";
all I need is the $variable to equal something that would do this, i think.
Thanks