UziLok Posted August 11, 2009 Share Posted August 11, 2009 Whats the difference ? $this->mydb['pass'] = $pass; $this->pass = $pass; 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 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.. 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
Archived
This topic is now archived and is closed to further replies.