Double Colon ::

Discussion in 'PHP' started by sandstorm140, Feb 21, 2009.

  1. #1
    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:
     
    sandstorm140, Feb 21, 2009 IP
  2. Pos1tron

    Pos1tron Peon

    Messages:
    95
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Pos1tron, Feb 21, 2009 IP
  3. sandstorm140

    sandstorm140 Peon

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you very much
     
    sandstorm140, Feb 21, 2009 IP