multiple forms problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sbettadpur
    New Member
    • Aug 2007
    • 121

    multiple forms problem

    hello

    I am using multiple forms in a php file, is that will work

    here with i am sending my source code which is not working properly

    anybody knows reply back with solution

    Thankyou

    <html>
    <head>
    <body>
    <form action='mutlifo rm.php' method='post'>
    <input type='text' name='t1' >
    <input type='submit' value='Submit'>


    <form action='test.ph p' method='post'>
    <input type='text' name='t1' >
    <input type='submit' value='Submit'>
    </form>


    </form>
    </body>
    </html>
  • dafodil
    Contributor
    • Jul 2007
    • 389

    #2
    Can you explain why you need to use multiple forms?
    Usually there are multiple buttons not multiple forms. The buttons will select which method you want to process so that it can redirect you to another page.

    Comment

    • pritipshah
      New Member
      • Sep 2007
      • 11

      #3
      Originally posted by sbettadpur
      hello

      I am using multiple forms in a php file, is that will work

      here with i am sending my source code which is not working properly

      anybody knows reply back with solution

      Thankyou

      <html>
      <head>
      <body>
      <form action='mutlifo rm.php' method='post'>
      <input type='text' name='t1' >
      <input type='submit' value='Submit'>


      <form action='test.ph p' method='post'>
      <input type='text' name='t1' >
      <input type='submit' value='Submit'>
      </form>


      </form>
      </body>
      </html>
      Hey

      Try two forms individually. I mean don't keep inner loop for form, close 1st form before starting second one then start second form and close it at the end.

      Regards,
      Priti Shah

      Comment

      Working...