I am a complete newbie to PHP. Currently, I'm reading the PHP documentation from php.net. I need a simple script that will save the data from a textarea and still be able to retrieve it so I can view it later.
For example:
form.php
When the user submits the data successfully, I want the script to generate an increasing number so that if I go to form.php?file=1 it will display the data.
If I do this again, the data will be stored as form.php?file=2
This may be a little complicated, but I know it could be done. Thanks for helping me.
For example:
form.php
Code:
Shows the textarea, processes the form, and saves it into a text file.
When the user submits the data successfully, I want the script to generate an increasing number so that if I go to form.php?file=1 it will display the data.
If I do this again, the data will be stored as form.php?file=2
This may be a little complicated, but I know it could be done. Thanks for helping me.