Welkom bij Coolrad Aircoservice

0) { $rtel = ceil($num / $pagemax); if(empty($page) || ($page > $rtel)) { $page = 1; } $start = $page - 3; if($start < "1") { $start = "1"; } for ($p = $start; $p <= ($page + 3) && $p <= $rtel; $p++) { if ($page == $p) $pages[$p] = ''.$p.''; else $pages[$p] = ''.$p.''; } $pages = implode('', $pages); //$prev = ($page - 1) ? '' : '' ; //$next = ($page-ceil($rtel)) ? '' : '' ; //$begin = ($page != "1") ? '«' : '' ; //$end = ($page != $rtel) ? '»' : '' ; if ($rtel > 1) $pagenav = ''; } $pagevan = ($page - 1) * $pagemax; $pagevan < 0 ? $pagevan = 0 : ''; ?>Fout met de query:SELECT * FROM tblArticle WHERE art_m_id = "1" AND lang=1 AND art_type_id=1 AND art_active=1 ORDER BY art_date DESC LIMIT ,2

MYSQL:You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '2' at line 1