Learned out to use the if statement in PHP