zencart中query_factory.php中连接mysql次数

query_factory.php : includes / classes / db / mysql


if (!function_exists('mysql_connect')) die ('Call to undefined function: mysql_connect().  Please install the MySQL Connector for PHP');
   $connectionRetry = 10;  // lian jie ci shu
   while (!isset($this->link) || ($this->link == FALSE && $connectionRetry !=0) )
   {
     $this->link = @mysql_connect($zf_host, $zf_user, $zf_password, true);
     $connectionRetry--;
   }



你可能感兴趣的:(mysql,function,undefined,classes,includes)