Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    two web pages open after submit

    hi, how do i get the form to be sent to two different web pages using PHP

    <form name=”form” id=”form” action=”art.php” method=”post”>
    happy<input type=”text” name=”happy” id=”happy”/>
    sad<input type=”text” name=”sad” id=”sad”/>
    <input type=”submit” value=”submit”/>
    </form>

    the form data is supposed to go to two different web pages with a single submit button.

  • #2
    Senior Coder
    Join Date
    Apr 2010
    Posts
    1,453
    Thanks
    71
    Thanked 102 Times in 101 Posts
    Do you want it to open two browser windows of webpages? or do you want to insert the values into two different DB tables?

  • #3
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    it would open two web pages and post the form values to both of those pages. the pages have text fields that display the info from the initial form
    ......
    i was able to do what i needed with javascript, thanks though
    Last edited by cyberninja; 09-29-2011 at 12:01 AM. Reason: resolved the issue


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •