Type: Posts; User: Norm
You should always code {}s with if, else and loops
You need to add {}s to enclose the statements controlled by the if statement.