Hey. I'v been starting to see double Colons more and more often lately as dbsimple_Generic::connect() Could someone please explain what it's called and how it basically works? Thanks a bunch $DB = dbsimple_Generic::connect("".$MW->getDbInfo['db_type']."://".$MW->getDbInfo['db_username'].":".$MW->getDbInfo['db_password']."@".$MW->getDbInfo['db_host'].":".$MW->getDbInfo['db_port']."/".$MW->getDbInfo['db_name'].""); PHP:
It's to do with Object Oriented Programming - static functions for that example. http://uk3.php.net/manual/en/language.oop5.paamayim-nekudotayim.php is the specific info, but to understand that well you'll want to start reading from the beginning (http://uk3.php.net/manual/en/language.oop5.basic.php).