add <tr> after 4 <td> using php code example
Example: add after 4 using php
$return_var = "";
$index = 1;
while($value = mysqli_fetch_array($result))
{
if($index == 1){
$return_var .= "";
}
$return_var .= "Plan_name : ".$value["plan_name"]." ";
if($index % 4 === 0){
$return_var .= " ";
}
$index++;
}
$return_var .= "
";