Hi just a quick question on an operator i have not come across before, which i cant seem to find the answer for...
what does the -= operator do?
the context of the code is in a pagination script.
$page = $_POST['page'];
$cur_page = $page;
$page -= 1;
$per_page = 15;
$previous_btn = true;
$next_btn = true;
$first_btn = true;
$last_btn = true;
$start = $page * $per_page;
echo('start: '.$start.' - per-page: '.$per_page);