Re: passing arrays

From: Date: Thu, 23 May 2002 19:54:31 +0000
Subject: Re: passing arrays
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-98980@lists.php.net to get a copy of this message
Yes, You have to append the array name and values to the end of the url. You've to pass each element from html to php and vice versa, another method is using input hidden http://yoururl.com/index.php&myarray[]=one&myarray[]=two&myarray[]=three > hi, > > is there a way to pass arrays in forms or in the url? > > if i have $myarray=array("one","two","three"); > > can i pass the whole array at once as opposed to having to pass each > individual element? > > thanks. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -Pushkar S. Pradhan

« previous php.general (#98980) next »