i have this code
if (isset($title) && ($title !== null))
And tried this one too
if (isset($title) && ($title === true))
but this code dont work becouse it dont check if variable exist and do code in if. I want to check if variable exist in another file how can i do that ?
other fileis not called in any way by the current page/script then any variables you are expecting to find will not have been instantiated. If theother fileis called in some way then it should be before you attempt to test for the existence of the variable