[PHP] Return array from extension

2002-09-19 Thread Ole Stakemann
Hi This is probably a stupid question, but I can't figure it out. I've been trying to search the PHP site for an answer without luck. I want to return results in an array from an extension. The array may or may not be defined. The array may or may not contain values. The PHP function could

[PHP] return array

2002-06-06 Thread Jule Slootbeek
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? any ideas? thanks Jule -- Jule

Re: [PHP] return array

2002-06-06 Thread Jule Slootbeek
try: list($doo, $dah) = my_function(); thanks alot that was it list ($array['name'], $array['password']); Jule -- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: