Home › Forums › Back End › How to store numeric form values and retieve the total sum of them. › Reply To: How to store numeric form values and retieve the total sum of them.
February 2, 2019 at 12:11 am
#282180
Beverleyh
Participant
You can use PHP’s file_put_contents() to save the entered form values into a text file. Then you can retrieve the content of the text file and display them on the page with file_get_contents() and echo()
Here’s a simple demo that uses the same logic except it’s updating a stylesheet http://fofwebdesign.co.uk/template/_testing/test/save-file/index.php