how can i make simple news calendar on jQuery datepicker
<p>I have code:</p>

<pre><code>$(function() {
    $('#datepicker').datepicker({
        beforeShowDay: daysToMarkAndLink
    });
});

function daysToMarkAndLink(date) {
    .....(if daysToMarkAndLink matches){
        ......(link goes here and also highlight);  
         }
    return [false];
}

&lt;?
$sql = mysql_query("SELECT * FROM news");
while ($row = mysql_fetch_array($sql))
{
    print $row["time_added"];
}
?&gt;
</code></pre>

<p>i want to do something like, highlight the only days i have in database also and link them on my news page, filter by date_added.</p>

<p>i want a very simple news calendar on jQuery datepicker.</p>

<p>thanks</p>
