What are you trying to do? I could try and help you, but I dont fully understand your point
I will look into the code right now. It has never happened to me but I shall investigate
You could try the following:
<?php echo date("d"); ?>
That would echo the day of the month. As taken from the PHP manuel “Day of the month, 2 digits with leading zeros” 01 – 31. Then the if statment could be something like:
<?php
$date = date("d");
if($date > 10 + *dateofpostcode*) {
echo "True";
} else {
echo "False";
}
?>
I think that would work, but you would have to replace the *dateofpostcode* with the code that fetches the date of post from the database.
Hope I have helped you.
Thanks,
Matt
Probably not… you must have been editing that file and left one too many }’s, or left one in the wrong place by accident.
Thanks,
Matt