At the moment, the data is shown in a line, where I need it in a tabular format.
There would be 5 headings which would align to the 5 'data types' below.
echo "<h3>search results for <i>". $keyword."</i></h3><br>";
while($result_arr = mysqli_fetch_array( $result ))
{
echo $result_arr['datatype1'];
echo $result_arr['2'];
echo $result_arr['3'];
echo $result_arr['4'];
echo $result_arr['5'];
}
$anymatches=mysqli_num_rows($result);