View Single Post
Old 02-01-2013, 10:36 PM   PM User | #6
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,653
Thanks: 4
Thanked 2,451 Times in 2,420 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
-> is a dereference operator; it has nothing to do directly with MySQLi. That is used with objects. The object section of the API can help describe these: http://php.ca/manual/en/language.oop5.php
OOP is a completely different paradigm from procedural code. Logically it is simply a structure of variables and methods that operate individually on an instance of a class. So two objects can call the same methods, yet the operations within them are likely using different data. So think of it as a mini sandbox that you can play in.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote