come inviare i valori di un array ad un cgi (o pagina php)?

A

_andrea.l

Salve a tutti,
Ho un array di valori in un array javascript:
lista[1]=pippo
lista[2]=nando
lista[..]=....

Come inviare questa lista ad una pagina scritta in php?
magari cliccando un bottone "invia tutti i dati"?

Grazie in anticipo per il tempo che spenderete per rispondermi,
Andrea.
 
N

nikki

You have to send them in the URL, an XMLHttpRequest, or a form to the
PHP page. The browser must make a request to the server to send a PHP
page data.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top