Php Decision making example 1