UziLok Posted August 11, 2009 Share Posted August 11, 2009 Whats the difference ? $this->mydb['pass'] = $pass; $this->pass = $pass; Quote Link to comment https://forums.phpfreaks.com/topic/169840-solved-oop-simple-question-thanks/ Share on other sites More sharing options...
MadTechie Posted August 11, 2009 Share Posted August 11, 2009 $this->mydb['pass'] = $pass; //Sets $pass to an object array $this->pass = $pass;//Sets $pass to an object same question $mydb['pass'] = $pass; //Sets $pass to an array variable $pass = $pass;//Sets $pass to a variable Quote Link to comment https://forums.phpfreaks.com/topic/169840-solved-oop-simple-question-thanks/#findComment-896023 Share on other sites More sharing options...
UziLok Posted August 11, 2009 Author Share Posted August 11, 2009 Thank you.. Quote Link to comment https://forums.phpfreaks.com/topic/169840-solved-oop-simple-question-thanks/#findComment-896041 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.