note 57924 deleted from language.variables.scope by betz

From: Date: Wed, 19 Oct 2005 09:59:41 +0000
Subject: note 57924 deleted from language.variables.scope by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-97220@lists.php.net to get a copy of this message
Note Submitter: ---- Hi : first of all thank you very much You have to know that I am learning php and I am at the beginnig stage. I have question: how I can print the (reach the velur of the $att ) inside the function ? in other world how I can get(use) the valur of the :::: var ::: variable inside the function : alot of thanks "beshoo" class sh{ var $att; function x() { $fft=800; $this->att=$fft; echo"$fft"; } } $x=new sh();

« previous php.notes (#97220) next »