Select (Sum) totals
Select (Sum) totals
dblackw
Posts: 1Questions: 0Answers: 0
Is there example code of using datatables to do sum totals or other SQL selects in php, I realise the example php code is only a sample - but I'm not sure how to go about adding to it eg SELECT name, SUM(daily_typing_pages)
-> FROM employee_tbl GROUP BY name;
This discussion has been closed.
Replies
Where it creates the JSON you can add the extra data in there. For example:
Then use
ajax.json()
to access the JSON object on the client-side. You might use:Allan