$current_page = $_GET['page']; $next_page = $current_page + 1; $prev_page = $current_page - 1;