Need meaning of an if statement.
Posted: Wed May 20, 2009 8:34 am
This are set ups values on the top of the page
And this line is within the code and uses those values.
What this line means according to the set up values above?
in Special the $submenu variable why does its value needed to be assign to false here and then use it in that conditioned line?
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?