Hey, i need help. To use php and mysql, i need php to select all fields when a field id is equal to a variable this i can do. I then need all these fields to be added together and stored as a variable. All help is much apreciated
not usre i totally understand your question but it sounds like you need to sum together fields in your database?
SELECT (field1 + field2 + field3) AS sum FROM table