Nothing. But it I run:

function getData() {
    etc..
    print_r ($theArray);
    return $theArray;
}
the data is definitely there.

I think the example in the PHP manual goes something like...


function getData () {
// blah, blah
return array ('value1', 'value2', ...);
}

Then you would call it with
list ($var1, $var2, ...) = getData();

Hope that helps,
Larry

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



Reply via email to