Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, April 19, 2024

Diff for phpMyEdit/phpMyEdit.class.php between version 1.165 and 1.166

version 1.165, 2005/03/12 10:16:49 version 1.166, 2005/03/24 17:15:54
Line 19 
Line 19 
  * http://platon.sk/projects/phpMyEdit/   * http://platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.164 2005/03/05 12:03:13 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.165 2005/03/12 10:16:49 nepto Exp $ */
   
 /*  This is a generic table editing program. The table and fields to be  /*  This is a generic table editing program. The table and fields to be
         edited are defined in the calling program.          edited are defined in the calling program.
Line 2834  function '.$this->js['prefix'].'filter_h
Line 2834  function '.$this->js['prefix'].'filter_h
                         $this->error('no table defined');                          $this->error('no table defined');
                         return false;                          return false;
                 }                  }
                 if ($this->dbh = @mysql_pconnect($this->hn, $this->un, $this->pw)) {                  $this->dbh = @ini_get('allow_persistent')
                 } else {                          ? @mysql_pconnect($this->hn, $this->un, $this->pw)
                           : @mysql_connect($this->hn, $this->un, $this->pw);
                   if (!$this->dbh) {
                         $this->error('could not connect to MySQL');                          $this->error('could not connect to MySQL');
                         return false;                          return false;
                 }                  }

Legend:
Removed from v.1.165  
changed lines
  Added in v.1.166

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top