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
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
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:
3 matches
Mail list logo