There is an array in php array
$list = array (
array(", $_POST['subject'], $_POST['time'], $_POST['text'], $_POST['name_html'],"),
);
Is the. CSV file.
First, I add to the end of this array in array'e and get one new row with data obtained from a POST request.
$list = array (
array(", $_POST['subject'], $_POST['time'],...