hey HalfaBee..sorry to bug you again..
Replace $month = $month + $contract;
if ($month > 12) {
$month = $month - 12;
$year++;
}
with this
$month = (($month + $contract-1)%12)+1;
can i not achieve the same thing as above with the code you supplied?
$updated_datestamp = date("Y-m-d" , strtotime( "$date_purchased + $contract month" ));
thanks mate