Hi everyone, I have a quick question about adding with php. I have a table that allows users to input values into the database. then it allows the user to check or uncheck several checkboxes that send a value of 1 into the database under that users id. Each value entered has a checkbox next to it. The idea is to have several rows like this, then at the end have a total amount of all the added values. I only want to add the values together that have checkboxes checked (1 in database).
does anyone have any ideas on a way to do this? I am still learner all the functions that php can perform so I am open for ideas. thanks in advance.