> Is there a way to make te variables defined in the function 'global' ? So I
> can use them after the function call.

Just make them global inside the function.  They don't need to exist in
the global symbol table before the call for this.

try this little test:

<?php
   function foo() {
      global $a;
      $a=1;
   }
   foo();
   echo $a;
?>

-Rasmus


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

Reply via email to