I am looking for a simple text flat database that can work with the SQL-like instructions SELCT, INPUT, UPDATE, DELETE. There is a database that fully satisfies me, but it is for Perl - http://metacpan.org/pod/Sprite I need something like that, but PHP class. Thank you in advance!
PHP simple text database with SQL syntax [closed]
Does it need to have text as a backend, or do you just want something portable? In other words, have you considered SQLite? –
Wellestablished
Use SQLite. It has a PHP class too here:
http://www.phpclasses.org/package/2107-PHP-SQLite-database-access-wrapper.html
SQLite is installed in PHP5 by default. php.net/manual/en/book.sqlite.php –
Haygood
Not plain text, but at least it's saved in a file not behind a server. –
Tracey
SQLite is most certainly not a flat file database. –
Isa
+1. I love that database. I don't get to use it nearly enough. –
Isa
SQLite is amazing! But this php hosting doesn't support it :( –
Bakehouse
Apparently stalled or abandoned but quite what you are looking for:
PHP Text File Database API - PHP Text DB: access Text Files with SQL
PHP Flatfile package - provides equivalents to many common SQL commands
file = table folder = database
ASAP - as simple as possible
the idea is like this:
database = folder
table = subfolder
column = file in subfolder
record = a line in column-file ;)
so theoretically you could have a table inside a table or even work with filesystem links (linux ln -sv command)
© 2022 - 2024 — McMap. All rights reserved.