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. Advertising

  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. 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. Rajive Narain
    Replies:
    0
    Views:
    1,988
    Rajive Narain
    Sep 18, 2009
  2. Replies:
    2
    Views:
    169
  3. garima puri
    Replies:
    0
    Views:
    85
    garima puri
    Oct 3, 2005
  4. _andrea.l
    Replies:
    1
    Views:
    99
    nikki
    Oct 14, 2005
  5. Replies:
    3
    Views:
    228
    frothpoker
    Sep 4, 2006
Loading...

Share This Page