PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
An 'if' statement will evaluate the value of the variable $name. If True execute between { }, if false, next line. Usually an 'if' will execute if the variable evaluates TRUE.
Without knowing what type of variable $name is: boolean, number, alphanumeric, it impossible to know what it will do.