Is it possible to create and save form data in database without MYSQL, ORACLE, etc? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Is it possible to create and save form data in database without MYSQL, ORACLE, etc?

Suppose, i know how to create a form in HTML, firstly I create a User Registration form, User Login Form but I don't want to use MYSQL, ORACLE etc for database. I want to know how could I save the form data without using the above database. can anyone help me regarding this?

22nd Sep 2017, 5:36 PM
Joy kumar sinha
Joy kumar sinha - avatar
3 Respuestas
+ 9
You can save it in any format that is convenient for you. Just make sure you have a neat tool to read from it. In general, if the data is to be stored locally, SQL is the best option. But if you are really sure you don't want it, other formats might be better - think of MS Excel (.xlsx) or Comma Separated Values (.csv) for example. For web shared services the most typical formats are JSON or XML.
22nd Sep 2017, 5:52 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 3
Adding on to @Kuba's answer, if you're writing to a file just keep in your mind the goal separating your fields somehow. Comma-separated values has a very well-known format, as does tab-separated values (sometimes easier if your input could contain commas)....some people even write data into columns of fixed width. Really, the output format is up to you as long as you choose some way that separates what it means to mark a "field" (its edges) vs. what it means to be "data". Libraries like JSON mostly keep you from having to worry about that stuff at all.
22nd Sep 2017, 6:01 PM
Kirk Schafer
Kirk Schafer - avatar
+ 1
you can save in json file
22nd Sep 2017, 5:46 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar