How to make a code which will auto save the txt input in a input box | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to make a code which will auto save the txt input in a input box

I have make a input box and I want to save the text which I will put in the box and save it to my .txt file

31st May 2018, 7:31 AM
Samsher Ali
4 Answers
+ 1
You need to create/open a txt file using the concepts of file handling in PHP. Then take the input box value in a PHP variable and append it to the file and close the file.
31st May 2018, 7:39 AM
Sachin Artani
Sachin Artani - avatar
+ 1
but how ...I don't know how to do it
31st May 2018, 7:40 AM
Samsher Ali
+ 1
thanks ..it really help full for me
31st May 2018, 7:45 AM
Samsher Ali
31st May 2018, 7:43 AM
Sachin Artani
Sachin Artani - avatar