I'm new to PHP and I'm currently learning about if-else statements. I understand the concept, but I'm having trouble with the syntax. Can someone please help me understand how to write an if-else statement in PHP?
I would really appreciate it if someone could provide an example of the correct syntax. Thank you in advance for your help!