It was supposed to be $comic['release']Originally posted by phpman
what is $comic['released'] - the value of it?I make dumbass mistakes like this all the time, and it takes me hours to figure it out.
So this is the code I'm using now:
*sighs* Thanks for all your help.Code:if (strtotime($comic["release"]) <= strtotime("now")) { $date = "Now!"; } else { $date = date('F jS, Y', strtotime($comic['release'])) . "."; }




I make dumbass mistakes like this all the time, and it takes me hours to figure it out.
Reply With Quote