$age = 18; if ($age >= 18) { echo "You are old enough to vote"; } else { echo "You are not old enough to vote"; }