Re: convert array to HTML GET request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



on 2nd page you can use

global $HTTP_POST_VARS; print_r($HTTP_POST_VARS);

/// u can use $HTTP_GET_VARS for GET method

regards
hope
adriano ghezzi wrote:

if i understand well you need to get an array from html post


if you use the same name for your html fields you automatically have
an array in $_POST

eg

input type=text  name=myfield value="field_1"
input type=text name=myfield value="field_2"

you'll get the array  ar_myfield = $_POS['myfield']

you should achieve the same result using myfield[key] in the name of html

hyh

by ag.


2005/10/2, Martin van den Berg <martinvdberg@xxxxxxxxx>:
Newbe question:

How does one convert an array into a HTML GET request easely? Are
there any standard functions?

Same for HTML POST requests.

Thanks,

Martin.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux