On Sat, Mar 27, 2010 at 10:26 PM, Gary <gwp...@ptd.net> wrote:

> [...]
>

$end_date=date('m-d-Y',strtotime('$mth')) + date('m-d-Y',
> strtotime('$pay_date'));
>
> [...]


Try changing above to:

$end_date = date('m-d-Y',strtotime("$pay_date + $mth months"));

I think your mail client took it out of the add_date function.

Reply via email to