Ok so I have an array full of values and I want to echo them in a specific way.
This is my code so far:
<?php foreach( $names as $i ) {
echo $i."<br>";
}?>
So at the moment I am stacking each value under one another. But I want to change it into columns.
I want it to display like this:
Name 1 Name 2
Name 3 Name 4
And so on... How can I achieve this?