I m using PHP and mysql and i have created a table named dailyreports and it also the final php file, and it has 4 files as
dailyreportsadd.php
dailyreportsinfo.php
dailyreportslist.php
dailyreportsview.php
Now all i have to do is i have to subtract 2 fields, can someone help me.
I have 3 fields called # of agents rostered, # of agents present, Absent (in nos)
Now my clarifiaction is where can i define the formula, so that my result page should look like Absent (in nos)=# of agents rostered-# of agents present
Where should I define this formula?
Thanks,
Balakrishnan.