I'm trying to add ternary operators to my programming knowledge but they aren't working for me.
$_SESSION['c'] = (isset($_GET['c'])) ? $_GET['c'];
Any help will be appreciated.
I'm trying to add ternary operators to my programming knowledge but they aren't working for me.
$_SESSION['c'] = (isset($_GET['c'])) ? $_GET['c'];
Any help will be appreciated.