How to redirect form data do PHP doc in NEW WINDOW?

Discussion in 'HTML' started by ML, Jul 9, 2003.

  1. ML

    ML Guest

    Hi all,

    I have a form and I want to POST data from it to PHP doc which will be
    opened in new window.
    How should the syntax look like:

    <input type=submit value= ??? >

    I have tried javasript here but it did not work.

    regards

    Michal Leder
     
    ML, Jul 9, 2003
    #1
    1. Advertising

  2. ML

    Steve Pugh Guest

    "ML" <> wrote:

    >I have a form and I want to POST data from it to PHP doc which will be
    >opened in new window.


    All the reasons why opening a new window is a bad idea apply for form
    submissions just as much as they do for links.

    >How should the syntax look like:
    >
    ><input type=submit value= ??? >


    <form action="whatever.php" method="post" target="_blank">
    <input ...>
    <input ...>
    </form>

    >I have tried javasript here but it did not work.


    Often the cae.

    Steve

    --
    "My theories appal you, my heresies outrage you,
    I never answer letters and you don't like my tie." - The Doctor

    Steve Pugh <> <http://steve.pugh.net/>
     
    Steve Pugh, Jul 9, 2003
    #2
    1. Advertising

  3. ML

    ML Guest

    OK, I know now how to do it.
    It was really simple.

    Sorry for bothering about this!

    regards

    Michal Leder
     
    ML, Jul 9, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    2
    Views:
    14,185
    bruce barker
    Aug 23, 2004
  2. Matt
    Replies:
    1
    Views:
    478
    Andrew Thompson
    Aug 22, 2004
  3. Matt
    Replies:
    3
    Views:
    550
    Tor Iver Wilhelmsen
    Sep 17, 2004
  4. Rajive Narain
    Replies:
    0
    Views:
    2,085
    Rajive Narain
    Sep 18, 2009
  5. Sal
    Replies:
    1
    Views:
    1,011
Loading...

Share This Page