I have a problem with this code
Code:
<?php
class Mypdo
{  static $dbh;
   public static function mydbh()
{ if (self::dbh==null)
    {     self::dbh  = new PDO("mysql:host=localhost;dbname=auctions", "dimis", "dimis");}
return self::dbh;
}
}
?>
Parse error: syntax error, unexpected '=' on line 6
What is wrong?