On Thu, 23 May 2002, wm wrote:
> 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?

  <a href="whatever.php?myarray=<?= urlencode(serialize($myarray)) ?>">

Then in whatever.php:

  $myarray = unserialize($_GET['myarray']);


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

Reply via email to