In this tutorial I discuss the basic syntax of the if / else if / else statement. I describe its use in an anecdotal situation, as using an if statement in PHP is so common if you follow any other beginner tutorials of any sort, be it for a login or a search engine, you will need to use an if statement. They are quite simple to use.
If you have any other questions on using this language construct (the if statement), please leave a comment and I will get back to you as soon as I can.