Оператор PHP If с несколькими условиями ⇐ Php
-
Anonymous
Оператор PHP If с несколькими условиями
I have a variable$var.
I want echo "true" if $var is equal to any of the following values abc, def, hij, klm, or nop. Is there a way to do this with a single statement like &&??
Источник: https://stackoverflow.com/questions/559 ... conditions
I have a variable$var.
I want echo "true" if $var is equal to any of the following values abc, def, hij, klm, or nop. Is there a way to do this with a single statement like &&??
Источник: https://stackoverflow.com/questions/559 ... conditions
Мобильная версия