Diff for phpMyEdit/phpMyEdit.class.php between version 1.211 and 1.212
version 1.211, 2008/06/04 10:49:39 |
version 1.212, 2008/11/11 04:46:36 |
|
|
* http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
*/ |
*/ |
|
|
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.210 2008-05-21 16:54:25 ajh Exp $ */ |
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.211 2008-06-04 10:49:39 michal 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. |
|
|
return mysql_insert_id($this->dbh); |
return mysql_insert_id($this->dbh); |
} /* }}} */ |
} /* }}} */ |
|
|
function sql_limit($start, $more) /* {{{ */ |
function sql_limit($start, $more = null) /* {{{ */ |
{ |
{ |
if($more < 0) return; |
if ($more < 0) return; |
return ' LIMIT '.$start.', '.$more.' '; |
if (!is_numeric($start)) return; |
|
$ret = ' LIMIT '.$start; |
|
if (is_numeric($more)) { |
|
$ret .= ','.$more; |
|
} |
|
$ret .= ' '; |
|
return $ret; |
} /* }}} */ |
} /* }}} */ |
|
|
function sql_delimiter() /* {{{ */ |
function sql_delimiter() /* {{{ */ |
Line 3388 function '.$this->js['prefix'].'filter_h |
|
Line 3394 function '.$this->js['prefix'].'filter_h |
|
* vim600:fdm=marker fdl=0 fdc=0: |
* vim600:fdm=marker fdl=0 fdc=0: |
* }}} */ |
* }}} */ |
|
|
?> |
|
|
|
|
?> |
Platon Group <platon@platon.org> http://platon.org/
|
|