Basic “If…else…” statement
-
Can someone tell me how to do a basic if…else statement in php? What I want to do is within the loop, create a statement that checks which category a post is coming from, and if it comes from a certain category (my “about” category), then display the post without the comment/feedback stuff, and if the post is not from that category, then display the post with all the normal stuff.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Basic “If…else…” statement’ is closed to new replies.