hey guys this maybe a stupid question for you but I have a database containing footballers names (please see screen shot) What i need to do is display maybe 5 names side by side and then 5 below, if that make sense. is there an easy way to do this?

the code i currently have after the established connect is

```
        $sql = "SELECT ID, NAME FROM players";
        $result = $conn->query($sql);

        if ($result->num_rows > 0) {
            // output data of each row
            while($row = $result->fetch_assoc()) {
                // Outputting HTML and the data from the DB. Change to $row['the name of the field you want']
                echo "<div class='caption'><h3><img src='http://placehold.it/180x180' alt=''>" . $row['NAME'] . "</h3><p>";
            }
        } else {
            echo "No players to show";
        }
        $conn->close();
    ?>

```

is it CSS i should be focusing on to make this look the way i want it?
sorry i am a new at this and cant get my head around it lol 

[![enter image description here](https://i.stack.imgur.com/GAo6R.jpg)](https://i.stack.imgur.com/GAo6R.jpg)