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--;
   }