Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

PHP Agenda Calendar

$
0
0

I'm looking for a way to write a quick Agenda style calendar that will only pull the date given from a database of events?  Can anyone help me out with this?

 

 

if(isset($_REQUEST['day']) && $_REQUEST['day'] != '')
{$timeLine = trim($_REQUEST['day']);}
else{$timeLine = false;}
 
if($timeLine == +1)
{
$NewDate=Date('y:m:d', strtotime("+1 days"));
}
 
elseif($timeLine == -1)
{
$NewDate=Date('y:m:d', strtotime("-1 days"));
}
 
else{ $Today = date('y:m:d'); }

Viewing all articles
Browse latest Browse all 13200

Trending Articles