ternärer Operator PHP
$friendid = isset($_GET['friendid']) ? $_GET['friendid'] : 'empty';
khurram khan
$friendid = isset($_GET['friendid']) ? $_GET['friendid'] : 'empty';
isset($var) ?: $var = 'default';