TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   MySQL & Databases (http://www.talkphp.com/mysql-databases/)
-   -   mysqli documentation (http://www.talkphp.com/mysql-databases/3313-mysqli-documentation.html)

phaesus 09-03-2008 01:44 AM

mysqli documentation
 
I need some help understanding the documentation on the mysqli methods in the manual. Basically, I don't get what the difference is between methods described using the scope resolution operator ::, and those using the arror ->.
Some methods can only be used separately, like mysqli_connect_error() or mysqli_debug().

Ross 09-03-2008 12:15 PM

In the PHP.net manual methods are shown with a double colon/scope-resolution-operator (the Paamayim Nekudotayim) and properties are shown with an arrow.

For example:
MySQLi::__construct()
MySQLi->affected_rows

I'm not sure on the reasoning for this, as I tend to think static methods when I see an SRO but that's just the way it's shown in the manual.


All times are GMT. The time now is 10:58 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0