php - Why my $_POST is empty? -


this question has answer here:

i have no time , tired struggle this, decided ask here: i've created file my.php contains only:

<?php var_dump( $_post ); ?> 

and open file using browser this:

www.domain.com/my.php?post1=hey&post2=ho&post3=letsgo 

and in browser have array(0) { } response.

question: possibly done wrong??

thanks!

in url get parameters, not post.

echo $_get['post1']; // hey echo $_get['post2']; // ho echo $_get['post3']; // letsgo 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -