Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING
Hey Colin,
It may because of the quotes used... I have to fiddle with them because my mind goes gaga looking at code all day... one thing I have also done in the past is to store the recordset date to its own variable first like this:
<?php
$datetoget = $row_renew_list['date'];
$date = "$datetoget";
$newdate = strtotime ( '+1 year' , strtotime ( $date ) ) ;
$newdate = date ( 'Y-m-d' , $newdate );
echo $newdate;
?>
Try that and let me know.
Cheers,
Brian