On Friday 07 June 2002 10:56, Jule Slootbeek wrote:
> Hey guys and gals,
>
> if i have a function
> and i return an array from it
>
> function my_function() {
> blabla;
> return array ($array['name'], $array['password']);
> }
>
> how do i get this into an array on the page i call the function?
>
> $array = my_function() doesn't work?
try:
list($doo, $dah) = my_function();
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
If A equals success, then the formula is _A = _X + _Y + _Z. _X is work.
_Y
is play. _Z is keep your mouth shut.
-- Albert Einstein
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php