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

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -