tauchai83 Posted January 3, 2007 Share Posted January 3, 2007 I have seem the example of the developer....actually what is $this keyword in PHP?$this->temp_db; for example...could some1 explain it? $thismany tahnks.. Quote Link to comment Share on other sites More sharing options...
trq Posted January 3, 2007 Share Posted January 3, 2007 It is used within classes to refer to the current instantiated object (itself).You can read more on objects [url=http://php.net/oop]here[/url]. Quote Link to comment Share on other sites More sharing options...
taith Posted January 3, 2007 Share Posted January 3, 2007 "this->" is for "class"eshttp://us2.php.net/manual/en/ref.classobj.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.