From the data entered by the user, an array is created, and in the database table each element must be written in the same column but in a new row, for example:
$array_m = (1, 5, 3, 8, 125, 6); It is necessary to create 6 lines where the next element will be written in the column of each line num.