Hi Im new to php and trying to get an understanding of some of the syntax -
I was hoping that someone could explain the following bits of code and what it does
if (isset($_SESSION['somesession'][$somevariable])) {
$items = $_SESSION['somesession'][$somevariable]; }
I understand the isset method but I dont understand what this is supposed to do
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks