HI,
I have the following scenario
if (isset($area)) {
if ($area === 'green') {
if (isset($task)) {
if ($task === 'do') {
//do something
} else {
echo "message 4";
}
} else {
echo "message 3";
}
} else {
echo "message 2";
}
} else {
echo "message 1";
}
if i use the url 'index.php?area =green', I am given message 4 and not
3, why is this?
I have the following scenario
if (isset($area)) {
if ($area === 'green') {
if (isset($task)) {
if ($task === 'do') {
//do something
} else {
echo "message 4";
}
} else {
echo "message 3";
}
} else {
echo "message 2";
}
} else {
echo "message 1";
}
if i use the url 'index.php?area =green', I am given message 4 and not
3, why is this?
Comment