I have pulldown menu, which needs to be called at multiple times in a page:
For example this one
for ($i=2;$i<=91; $i++) {
if((($i+$wday)%7)!=0 && (($i+$wday)%7)!=1) {
$tomorrow = mktime (0,0,0,date("m" ,date("d"+$i,date("Y");
$date4 = date("F d, Y - l",$tomorrow);
echo "<option value='$date4'>$date4</option> ";
}
}
How to put them in a array and refer back them by array elements.
Thanks
For example this one
for ($i=2;$i<=91; $i++) {
if((($i+$wday)%7)!=0 && (($i+$wday)%7)!=1) {
$tomorrow = mktime (0,0,0,date("m" ,date("d"+$i,date("Y");
$date4 = date("F d, Y - l",$tomorrow);
echo "<option value='$date4'>$date4</option> ";
}
}
How to put them in a array and refer back them by array elements.
Thanks