wrote the php wrong for the if statement