Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
April 17, 2008, 11:23 am
rate this thread
public function fun()
and on a page I see only --><-- instead -->10<-- which I expect. I
couldn't understand why variable $externVar defined outside class
definition is invisible inside this class. How to use such variables
inside the class definition?
Re: problem with using external variable inside class
Or, better yet, pass it to the function. Globals should be used seldom,
if at all.
Remove the "x" from my email address
JDS Computer Training Corp.
- » Running PHP scripts from browser without a webserver on MS
- — Next thread in » PHP Scripting Forum