$items = array_values($mov);
$count = 19;
$p = isset($_GET["p"]) ? (int)$_GET["p"] : 0;
for($i = $p*$count; $i < ($p+1)*$count; $i++){
echo "<p>",$items[$i];
}
$len = floor( count($items) / $count);
$id = intval($_GET['id']);
mysqli_num_rows=0Почему 0?