php - Isset POST is saying there is a value even without a post -


i'm trying display content if values posted page. i'm doing using following code:

if(isset($_post)){     echo "it in here"; } 

the value in echo appearing when page loads, why be?

$_post set, try empty function instead. try this:

    if(!empty($_post)){         echo "it in here";     } 

Popular posts from this blog

javascript - Js, document.getElementById("ID").innerHTML, error -

jquery - jqGrid update specific column data with out refreshing the entire column? -

objective c - Is there a way in OCMockito to make stubs fail when an unknown method is called? -