Calendar Help

Ask about a PHP problem here.
Post Reply
nfalcon001
Posts: 3
Joined: Sun Dec 16, 2012 4:41 pm

Calendar Help

Post 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.
ExtremeGaming
Posts: 205
Joined: Mon Jul 09, 2012 11:13 pm

Re: Calendar Help

Post 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`";
?>
<?php while(!$succeed = try()); ?>
Post Reply