I wrote a function wich uses an array:
at the end of the function I want to return this array, but if I store it in a variable the variable is empty...
Here's the code:
[...]
$finished=array();
[...]
$finished=readit($finished);
function readit($finished) {
[...]
echo count($finished);
return $finished;
}
echo count($finished);
The result:
First echo statement: xxx
Second echo statment: 0
Has anyone an idea what's happening ?
Gianni
?>