Calendar PHP

Hello Im new in php

Im traing to creat a “calendar”…not like any that you can download from internet…
I was looking for a calendar that has the weekly optional view…Im traing to find “2weeks view”…something like google calendar does.
So any one know about a calendar with this characteristic?
while I was searching I was wondering if its possible to creat something like this:
$actualDate = date (m,y,d) ++14 days;
my idea to this web is to creat a calendar 2 week view , has to be 2… and all I put in each TD ( see afte ) can be taken to the Database…
this is what I want.

<table…
<tr>…<td>$actualDate</td><td>$actualDate + 1</td>td>$actualDate + 1</td>…to 14(2 weeks )
aslo the “LINK” option to go to the next 2 weeks…

If anyone can help I’ll raely appreciate