Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Simple If-Statement Not Working Re: Simple If-Statement Not Working

#53969
TheLeggett
Member

It looks like you’re defining your $page variable after you begin the if() statement. If the variable hasn’t been set to “obituaries” yet, it shouldn’t meet that condition.

I think that’s the problem anyways!