...eption('Not specified any query SQL or db table'); } $sql = 'SELECT * FROM ' . $param['table']; } elseif (preg_match('/ limit\s+(\d+)(?:\s*,\s*(\d+)|\s+offset\s+(\d+))?\s*$/i', $sql, $match)) { if (isset($match[3])) { // LIMIT xxx OFFSET yyy $this->offset = intval...