> Hey,
> I think you should be able to serialize and urlencode the array and then
> pass that via get/post.....post would be a lot better as get is limited to
> so many chars. Something like:
> $sql = "select stuff from my_table";
> $result = mysql_query($sql);
> while ($myrow = mysql_fetch_assoc($result)) {
>       $id = $myrow["id"];
>       $my_array[] = $id;
> }
> echo '<a href="next_page.php?array='. urlencode(serialize($my_array))
> .'">Next</a>'; You'll need to unserialize+urldecode the array at the other
> end.

This is way nicer :-)

Sascha

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

Reply via email to