Php Decision making example 3