Hi all,

If I have the following


$startingfigure = "20,000";
$startdate = "2016-02-01";


and then in my database I have the following :

Name:  Screen Shot 2016-04-05 at 09.21.50.png
Views: 238
Size:  16.4 KB


How can I make it add / subtract the percentages from the starting figure, but only add / subtract the percentages on any dates after the start date?

As everybody will have a different start date.


Any help would be appreciated.

Regards,
Jamie