Write to file. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write to file.

I have a form with some input fields. how can I save all fields into a file for all input times. for example I enter 3 properties for each order. totally 10 order.

20th Feb 2017, 6:16 PM
Gh La
Gh La - avatar
3 Answers
+ 3
Don't be surprised to not get an answer with the expected language, when you don't precise which on it is :P
21st Feb 2017, 5:24 AM
visph
visph - avatar
+ 2
$file = fopen(name.txt, "w"); fwrite($file, $somestring); fclose($file);
20th Feb 2017, 6:57 PM
Silver Mikki
Silver Mikki - avatar
0
in Java?!
20th Feb 2017, 7:29 PM
Gh La
Gh La - avatar