|
Re: passing arrays: msg#03626php.general
$myarray = unserialize(urldecode($_GET['myarray'])); or am i wrong? Regards Michael "Miguel Cruz" <mnc@xxxxxxxxx> schrieb im Newsbeitrag news:Pine.LNX.4.44.0205231456150.20585-100000@xxxxxxxxxxxx > 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']); > > miguel > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: creating Image to display without saving it., Leotta, Natalie (NCI/IMS) |
|---|---|
| Next by Date: | Program execution stops at exec(), Tom Mikulecky |
| Previous by Thread: | Re: passing arrays, Miguel Cruz |
| Next by Thread: | mail() with images *embedded*, m u i n a r |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |