array()

From: Date: Tue, 05 Nov 2002 18:01:59 +0000
Subject: array()
Groups: php.general 
Request: Send a blank email to php-general+get-122815@lists.php.net to get a copy of this message
Hi people, is there a way to retrieve an array from a function ? like: <?php test_func($param1, $param2) { //code $test = array ("ASD" => "Test1", "ASDF" => "Test2"); return $test; } //outiside de function echo $test; // <----- the array ?> This doesn't work. So, any clue ? Regards and tks in advance! f.

« previous php.general (#122815) next »