PDA

View Full Version : globalize a variable in function()?


TECK
05-10-2002, 09:43 PM
if i make a file and create a function in there, is there the need to globalize certain variables?

global $bbuserinfo;

from my logic, is not.. since is used only on that file.
let me know if i'm correct. thanks.

Admin
05-11-2002, 08:39 AM
<a href="http://php.fastmirror.com/manual/en/functions.php" target="_blank">http://php.fastmirror.com/manual/en/functions.php</a>