Form submit

Discussion in 'PHP' started by spymobilephonesoftware, May 19, 2011.

  1. #1
    Hello,

    i have created one form....also i shown that in same page. when i try to update this data by edit link but after the data updated page move on other page not in same page on form...please help me what should be do...
     
    spymobilephonesoftware, May 19, 2011 IP
  2. zerokvl

    zerokvl Peon

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #2
    On your form delete action="url"
    Your update code must be in the same page.
     
    zerokvl, May 19, 2011 IP
  3. runbrun11

    runbrun11 Member

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    38
    #3
    You don't want to move to the new page? Please state your problem clearly.
     
    runbrun11, May 22, 2011 IP
  4. echipvina

    echipvina Active Member

    Messages:
    145
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #4
    Use
    
    <form action="" method="GET">
    ....
    </form>
    
    Code (markup):
     
    echipvina, May 22, 2011 IP
  5. phppro9x

    phppro9x Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Use
    
    <form action="edit.php" method="GET or POST">
          [Your code here]
    </form>
    Code (markup):
     
    phppro9x, May 22, 2011 IP