Rozdiely pre phpMyEdit/phpMyEdit.class.php medzi verziami 1.211 a 1.212
| verzia 1.211, 2008/06/04 10:49:39 |
verzia 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. |
| Riadok 353 class phpMyEdit |
|
| Riadok 353 class phpMyEdit |
|
| 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() /* {{{ */ |
| Riadok 3388 function '.$this->js['prefix'].'filter_h |
|
| Riadok 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.sk> http://platon.sk/
|
|