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 |
|
|
* 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; |
} |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|