lets take this example……
$this->query_fill=new Query ($sql, $this->conn);
Now I don’t know the code or what it is really doing, but I will hazard a guess.
$this – this would be the this object, a bit like referencing itself
-> is porobably an SQL type command to attach the query_fill
= new Query()- this is just making a new object of Query
$sql, $this->conn – take the $sql variable and pass it in the new object
$this – referencing itself
->conn – maybe an sql command to make a connection.
so if your really more interested in the -> part of your question I would look up sql php interaction
Well, pHp is quite similar to c / c++ and in c++, the term obj->item is used to access the item of the class of which obj is an object.
Don’t know if it means the same here in pHP or not.Anyway, I have to brush up my C++ a bit.. been ages since I last used it. Am more of a C guy hehe. Will study a bit and get back to you :)