Is there a way to include wildcard characters in a php if statement?
I have some tables that are named with the following format:
Month_Year
Then, I am trying to match the current month with only the month of the table name (excluding the year).
I would like to have an if statement, like this:
if($month == ("January_" . %)){
do something
}
But when I do that, I keep getting errors
Any suggestions?
Thanks