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
Post a Comment