why not just let phps time/date function do the calc for you??.
This code should cale the increase in the days changing the month and year if required.
<PRE>
<?
$date="30/06/2002"; // Create a date to add to.
$length="9"; // length to add in days.
list($dd, $mm, $yy)=explode("/", $date);
echo date("d/m/Y", mktime(0, 0, 0, $mm, ($dd+$length), $yy));
?>
</PRE>
Mark.