o condicional php code example Example: php if simple echo empty($address['street2']) ? "Street2 is empty!" : $address['street2'];