i want to compare the year. e.g $a = date(y); $b = "1888";
should I change both variable : a & b into integer and compare them....
i don't know how to do.. please help me.
how about
$b="1888"; is not really wrong, but makes no sense.
$a=date("y"); $b=1888;
if ($a==$b) { // $a and $b are equal }