Questions about '->'
Posted: Wed Jan 31, 2007 12:51 pm
Hello Everyone,
I am new to this forum and PHP. I have learned a lot just by searching online and have gotten a basic understanding of how PHP works. I downloaded a website login example to find out how it works and i have a question about it. Within pretty much all the pages they have a '->'. I have no idea what this is or what it does. I assume it is equivalent to an equals operator but am not sure. Can anyone verify or correct me on this. An example of what i am talking about is below:
Thank you,
Wayne
I am new to this forum and PHP. I have learned a lot just by searching online and have gotten a basic understanding of how PHP works. I downloaded a website login example to find out how it works and i have a question about it. Within pretty much all the pages they have a '->'. I have no idea what this is or what it does. I assume it is equivalent to an equals operator but am not sure. Can anyone verify or correct me on this. An example of what i am talking about is below:
Code: Select all
/* Class constructor */
function Session(){
$this->time = time();
$this->startSession();
}Wayne