how to send values of array to a cgi (or php page)?

Discussion in 'Javascript' started by _andrea.l, Oct 14, 2005.

  1. _andrea.l

    _andrea.l Guest

    Hallo!
    I have a list of value in an array:
    array_list[1]=pippo
    array_list[2]=pluto
    array_list[...]=....

    How to send this list or these values to a php page?
    for example by pushing a button (with label "send values")?

    Thank you in advance for the time you'll spend for answer me,
    Andrea.
     
    _andrea.l, Oct 14, 2005
    #1
    1. Advertisements

  2. _andrea.l wrote:

    > How to send this list or these values to a php page?


    Loop through the array and use it to build a URL or series of form controls.
    Then visit the URL (with with document.location, modifying a frame,
    XMLHttpRequest, or opening a popup) or submit the form.

    --
    David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is
     
    David Dorward, Oct 14, 2005
    #2
    1. Advertisements

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. Miguel Dias Moura

    How to send values from one page to another?

    Miguel Dias Moura, May 4, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    779
    Darren Clark
    May 19, 2004
  2. Rajive Narain
    Replies:
    0
    Views:
    2,507
    Rajive Narain
    Sep 18, 2009
  3. warhero
    Replies:
    1
    Views:
    148
    Chris Carter
    Jan 13, 2007
  4. Aaron Smith
    Replies:
    1
    Views:
    146
    Suraj Kurapati
    Jan 13, 2007
  5. Replies:
    2
    Views:
    307
  6. garima puri
    Replies:
    0
    Views:
    150
    garima puri
    Oct 3, 2005
  7. _andrea.l
    Replies:
    1
    Views:
    167
    nikki
    Oct 14, 2005
  8. Replies:
    3
    Views:
    389
    frothpoker
    Sep 4, 2006
Loading...