I'm having a problems with making if
statements:
<?php if (isset($detail) == 1) { ?>
// code if detail variable exists and is equal to 1
<?php } else { ?>
// code if detail variable doesn't exist or is not equal 1
<?php }?>
For some reason this condition doesn't work. How could I fix the if
condition, so it will work?