Page 1 of 1

Calendar Help

Posted: Sat Dec 29, 2012 2:26 am
by nfalcon001
I created a calendar and would like for it to display items from mysql in the respective date. Doesn't have to be a link or anything fancy, just plain text.

I appreciate any assistance anyone can provide. Still learning, always looking to learn something new. Thanks in advanced.

Re: Calendar Help

Posted: Sat Dec 29, 2012 2:30 am
by ExtremeGaming
You are going to have to be more specific. More importantly, show how your calendar is made and displayed. You can create a column in the table that corresponds to a date like a date column and inside you would put maybe:

December 21, 2012

And then an info column:

Worst. Apocalypse. Ever.

Then your query would be straight forward if that's all:
<?php
$sql = "SELECT * FROM `calendar`";
?>