function returning array
| From: | Leonie | Date: | Mon, 08 Sep 2003 01:54:10 +0000 |
| Subject: | function returning array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-161943@lists.php.net to get a copy of this message | ||
How do I get a function to return an array? This code doesn't work:
function getData() {
<function builds the array $theArray - tested ok>
return $theArray;
}
Any help on the syntax would be appreciated.
Cheers
Leonie