Code: Select all
$submenu = false;
$cat = isset($_GET['subject']) && is_numeric($_GET['subject'])?$_GET['subject']:null;And this line is within the code and uses those values.
Code: Select all
if($submenu == false && !is_null($cat) && $cat == $row['id'])in Special the $submenu variable why does its value needed to be assign to false here and then use it in that conditioned line?