'Converting HTML User Form input into .sql file that is in the same folder Using PHP (Question)

The reason why I am asking this question is because everyone seems to say to create a database using myphpadmin or mysql which i am having great trouble trying to setup. Is there an easy way to just have a .html file with a form and PHP code that gathers the users input and simply just pastes it into the .sql file table that I have in the same folder? or must I have to setup a database for this to work?

If its possible to do this without setting up a database how can i go about doing this?



Solution 1:[1]

Yes there are options, you can use SQLITE and keep the file in a folder, no server needed :)

https://www.sqlite.org/

Obviously this is more suitable to small projects, if you're looking for intensive use or great amount of storage you're going to have to use a database server.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 kissumisha