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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php