Hi :),
I am doing PHP personal form. My problem is based on adding persons.
When I am adding new person, the person is overwriting older one. Plus I would like to get only 4 indexes like below:
You don’t seem to add any kind of line terminator when you append the new data to the file, and I can’t see any note that file_put_contents() will do it for you. I suspect that’s why you find that the email field (the last field in the row) has the name (the first field in the row) appended to it.