note 57925 rejected from language.variables.scope by betz
| From: | betz@php.net | Date: | Wed, 19 Oct 2005 10:00:05 +0000 |
| Subject: | note 57925 rejected from language.variables.scope by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-97221@lists.php.net to get a copy of this message | ||
Note Submitter: basheermoro at hotmail dot com
----
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();