I have a table, tbl_hours, which saves hours spent on a specific task into the field hours_spent, and also has a unique id hours_task_id. I want to create a page that will sum up the total hours for a specific task based on the hours_task_id.
So I will have a page listing existing tasks, from tbl_tasks, and when i click on a task it shows me a page that will give me details on the task, which i can select from tbl_task, and the total hours summed from the hours_spent field where the task_id = hours_task_id.
Am I making sense?