Hi. I've been banging my head against this for hours and would greatly appreciate any help that can be offered. Basically I want to add together the results of a query, so I can then call the total as $total to use later in the page. Here's an example (not the real thing but a simplified version of the concept):

Say I had a table containing two fields, one for a person's name, and one for their age. How would I call all the entries...