Posted by Jim Carlock on 12/28/06 02:53
::Jerry Stuckle:: posted...
: It's better not to use globals. Rather, pass the needed values in
: the function call. Much better programming practice.
Thanks Jerry and Hendri.
I ran into a problem using "global" where I copied a variable name
outside of a function and even though I didn't put anything in the
outside variable.
When creating a class in PHP 4, I'm not seeing any kind of
private variables. Is there a way to simulate private variables
in PHP 4 ?
I've been thinking about moving to PHP 5.x, but before I finalize
and commit to such... I'm exploring classes in PHP 4.
--
Jim Carlock
Post replies to the group.
Navigation:
[Reply to this message]
|