There are such variables
$z1=''; $z2='hell'; How to assign z3 value by analogy with the following code?
$z1=''; $z2='hell'; if(!empty($z1)) $z3=$z1; else $z3=$z2; There are such variables
$z1=''; $z2='hell'; How to assign z3 value by analogy with the following code?
$z1=''; $z2='hell'; if(!empty($z1)) $z3=$z1; else $z3=$z2; Source: https://ru.stackoverflow.com/questions/444880/
All Articles
$z3 = $z1 ? $z1 : $z2;$z3 = $z1 ? $z1 : $z2;? Then this is a duplicate of one of the questions: ru.stackoverflow.com/questions/80718 , ru.stackoverflow.com/questions/103398 , ru.stackoverflow.com/questions/351700 and others - BOPOH