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
    Dec 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Concerning Forms in html

    I am trying to make a form that should send an array of data to a certain URL when the submit button is pressed. The problem is that i want the data array to be send to a second URL after being connected to the first URL!!!!!!

    It is something like this:

    <form action="firsturl.php" method="get">
    <input type="submit">
    </form>

    when the submit button is pushed, i will be connected to firsturl.php with the data array (eg. <?php $_GET['whatever'] ?>).
    After being connected to firsturl.php i wanna be redirected to secondurl.php without losing the data array that was posted from the original form because i need to access it and modify it!!!!

    Does any1 have any clue???

    YOurs

    Mohamed

  • #2
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    This can't be done in HTML, which is strictly a markup language. You need to script this functionality in your PHP.

  • #3
    New Coder
    Join Date
    Dec 2006
    Location
    Bahrain
    Posts
    96
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ALL types of scripts can be done with Javascript. Javascript is the best language, because it can act through multimedia, form effects and a lot more, if you'd like to know go to http://javascript.internet.com
    ALWAYS remember to validate your code


  •  

    Posting Permissions

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