Trying to get array from database rows with numeric indices only with:
$sql = "SELECT * from resumenes";
    $stmt = $db->prepare($sql);
    $stmt->execute();
    $stmt->fetch(PDO::FETCH_NUM);
    foreach ($stmt as $row) {
        print_r($row);
    }
I'm getting both, numeric indices and associative indices as if he had used PDO::FETCH_BOTH
 
     
    