[php-src] Issue #7861: CSV like database

From: Date: Fri, 31 Dec 2021 11:49:33 +0000
Subject: [php-src] Issue #7861: CSV like database
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238679@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7861 Comment Author: iluuu1994 This is a question really better asked on something like Stackoverflow. You can use [fgetcsv](https://www.php.net/manual/en/function.fgetcsv.php)/[fputcsv](https://www.php.net/manual/en/function.fputcsv.php) to write to CSV yourself. That being said, I'm very skeptical that complex, relational content stored in CSV is a good idea. There are many tools to work with databases (like [Doctrine](https://www.doctrine-project.org/)), a database will be much more stable in terms of data integrity and validation, and will be much more efficient. It doesn't have to be mySQL, SQLite will do if you want to avoid hosting another server.

« previous php.bugs (#238679) next »