Sorry if this is a simple one but I have spent days on it!
I have a system built in CakePHP version 2.2.4 that allows a user to input a meter reading via a simple form. The form asks for:
I am trying to get the /add.ctp to automatically pull in the previous reading and work out the Average flow as above.
I need as much help as you can possibly give guys!