adding php if statement