@svidgenJun 22.2009 — #The only thing I see wrong with your posted code is the omission of a semicolon after the include statement: [code=php]$animal = 'Dog'; function hello(){ global $animal; print $animal; } include "b.php"; // semicolon was missing here [/code]
@kurbyJun 23.2009 — #There is nothing wrong with the method you posted. If there is an issue with your actual code it may be something else. Will need more info to help.