Im trying to build an availability chart. A user goes in and selects the days that they are available using checkboxes. When the main chart is displayed this shows you when they are available by displaying a green gif.
What I am want to be able show is a red gif if nothing is checked in the checkbox. I am trying to use the if and elseif statment but it does not seem to be working.
<?
if ($mon==''){ ?>
<img src="na.gif" width="20" height="20" align="absmiddle">
<? } elseif ($mon=='check') { } ?>
<img src="a.gif" width="20" height="20" align="absmiddle">
na= not available gif
a= available gif