"January","February","March","April","May","June","July","August","September","October","November","December"); //begin read flowers table from file $fp = fopen ("Flower_seasons.txt", "rb"); $i=0; while (!feof ($fp)) { $buffer = fgets($fp, 1224); $posdash=strpos($buffer,"-\t"); $posY=strpos($buffer,"Y\t"); if (!$posY) continue; if (($posdash) and ($posdash<$posY)) $pos=$posdash; else $pos=$posY; $flowers[$i][name]=substr($buffer,0,$pos); $flowers[$i][show]=explode("\t",substr($buffer,$pos)); $i++; } fclose ($fp); //end read from file ?>
Guide to Seasonal Flowers

Some flowers are available throughout the year, while others are more plentiful during certain months. Out of season flowers may still be available, please call for details.


$flower) if ($flower[show][$m-1]=="Y") { $i++; echo trim($flower[name])."
"; if ($i=="27") { $i=0;echo"
";} } ?>