How would addition/subtraction calculations be carried out on a website?
Reason I'm asking is because I would like a link to link from one page to the next or previous (e.g. Page 1 to Page 2). The page is dynamic and uses PHP, it retrieves the data it displays from a MySQL database.
I have figured out that SQL can do this e.g. 2+5 is SELECT 2+5, however, I've been unsuccessful doing this on the net.