Function effecting global array.

From: Date: Sun, 20 Oct 2002 10:14:08 +0000
Subject: Function effecting global array.
Groups: php.general 
Request: Send a blank email to php-general+get-120660@lists.php.net to get a copy of this message
I want to write a function that will add to the end of an array that can be accessed elsewhere. To make the array variable global I just do this don't i? function my_function($foo){ global $arrayoffoos; etc.... } -- JJ Harrison lizner2002@yahoo.com.au

« previous php.general (#120660) next »