Good day fellow programmers.
I'm stuck in this question for days.
From my code below, I have to traverse the array and show the output, however, I have to break it to the next line everytime I hit the $multiple(which is the row&column limit according to the number of words i type)
My output is always the values in a straight line, or they will space out first then place my values at the bottom of the page.
<h1>Here are the exploded words</h1>
$words = $_POST["words"];
$wordsArray = explode(",",$words);
$r = $count;
$c = sqrt($r);
$multiple = ceil($c);