I was reading a book about PHP and I wanted to know how can you store data(of web forms) in PHP pages? I know the process of creating a php file and recieving the data using $_POST(or any other way like this). But those values would be overwritten when you submit the webform again.
Without using the database or emailing the data, is there a way to store multiple webform’s data in PHP?
If you want to store submissions from multiple sessions (or clients), you’d have to use some sort of database.
It could be an RDBMS like MySQL, and it could be a simple file: http://www.dummies.com/how-to/content/storing-data-with-php-flat-file-or-database.html