Storing Input | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

Storing Input

Is there any way to store the input(like type text and type password) of your user(in a var bv.)?

2nd May 2017, 8:26 PM
jason
jason - avatar
4 Answers
+ 6
Local storage, to store data in the browser. File storage, via PHP, direct store text data in files. Database, data storage via SQL via PHP.
2nd May 2017, 8:50 PM
Emore Anzolin
Emore Anzolin - avatar
+ 6
in javascript pls?
3rd May 2017, 8:52 AM
jason
jason - avatar
+ 5
Local strage is in JavaScript. JavaScript has many limitation in file managing. You can store data in a file creating a blob and downloading the blob as a file. Take a look to the save function of this program: https://code.sololearn.com/WhAk5YF0f5Av/?ref=app This may help you
3rd May 2017, 9:14 AM
Emore Anzolin
Emore Anzolin - avatar
+ 4
Local storage, session storage, or cookies. If you're looking to do something on the backend, look at a serverside language (eg. C#, Java, PHP)
2nd May 2017, 10:39 PM
Mike
Mike - avatar