Hi All,
I have been using this code for quite a while and it has been fine all year until August, now it does not work. There is no difference between July and August coding, but in the drop down box August does not show and I can not get php to recgonise anythin g 08 and above in the month if statement.
Any ideas?
if (date ("m") == 07){
echo "<option value='07' selected>July</option>";
} else {
echo "<option value='07'>July</option>";
}
if (date ("m") == 08){
echo "<option value='08' selected>August</option>";
} else {
echo "<option value='08'>August</option>";
}