I'm looking to do some basic PHP to test if a variable contains the current year.
What would be my conditional statement be for this?
My $date
variable has the formatting like 25 June 2016
.
And could I do a similar conditional statement for the year after?