PDA

View Full Version : Adding values from separted tables(MYSQL)


woofy
12-26-2009, 08:11 PM
I have some tables and I would like to have the values add up but is this possible or do the values all have to come from the same table? Where can I find how to do this if possible?

davidj
12-27-2009, 12:54 AM
just add them like so

$recordset1[table1-column1] + $recordset2[table2-column1]