Form not posting just refreshing and $_POST shows empty

Discussion in 'PHP' started by ahdsan, Apr 4, 2011.

  1. #1
    All my php files are now just refreshing on click of submit button.
    I tried to do print_r($_POST) but it shows empty array.
    REQUEST_METHOD is also GET

    not able to understand whats the problem.
    now submit of online php files also not working

    also, when i say action="someotherfile.php"
    that someother file shows $_POST but only once
    when i refresh again the $_POST is gone.

    very confused .. :(
    pls help....
     
    ahdsan, Apr 4, 2011 IP
  2. CI-Andrew

    CI-Andrew Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #2
    When the page is refreshed the $_POST contents should be submitted again, as long as you answer 'yes' when the browser asks if you want to resubmit the data. Is that being done?
     
    CI-Andrew, Apr 5, 2011 IP