Justin French wrote: > <? > function foo() > { > $foo = "aaa"; > $bar = "bbb"; > } > > foo(); > > echo $foo; > echo $bar; > > ?> > > How to I specify that $foo and $bar (defined in the func) are to be set > globally (ie, outside the function)?
Why not use an include instead of a function? Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php