How can I do simple check in the following scenario. This is my array:
[data] => Array ( [0] => blog ... )
This does not seem to be working:
if(isset($data[1]) != "page") {
do stuff here...
}
I need to check if key [1] is set and value not equal to "page"