Okay, so, let's say you have some data like this:
$things = [
0 => [ 'id' => 123, 'title' => '123 Title', 'content' => '123 Content' ],
1 => [ 'id' => 456, 'title' => '456 Title', 'content' => '456 Content' ],
2 => [ 'id' => 789, 'title' => '789 Title', 'content' => '789 Content' ],
];