We aclosing for 2 days comming up here shortly and I am having trouble executing a function that can tell the event calendar to leave these days out of the system. Then I want to display a state for "being closed" at the end.
-can anyone help?
[COLOR=Navy]$i = 1;
while ($row = mysql_fetch_array($result)) {
for($i=1;$i<=94;$i++) {
$arrIMAX[mysql_field_name($result,$i)] = $row[mysql_field_name($result,$i)];
}
}
list($sy,$sm,$sd) = split("-",$arrIMAX['startdate']);
list($ey,$em,$ed) = split("-",$arrIMAX['enddate']);
$iDates = date("F j, Y",mktime(0,0,0,$sm,$sd,$sy)) . " to " . date("F j, Y",mktime(0,0,0,$em,$ed,$ey));
$slink = "<a href=showtimes.php?d=" . date("Y-m-d",mktime(0,0,0,$sm,$sd-1,$sy)) . "><< Previous</a>";
$elink = "<a href=showtimes.php?d=" . date("Y-m-d",mktime(0,0,0,$em,$ed+1,$ey)) . ">Next >></a>";
while ($irow = mysql_fetch_object($iresult)) {
$arrI[$irow->eid] = $irow->heading;
$arrU[$irow->eid] = $irow->theurl;
$arrT[$irow->eid] = $arrET[$irow->etype];
$arrIMG[$irow->eid] = $irow->imgurl;
$arrHT[$irow->eid] = $irow->imght;
$arrWD[$irow->eid] = $irow->imgwd;
}[/COLOR]
thanks.