Question

My page has a text area and a submit button and I want to take feedback from the users of the page. What are my options? I can think of two:

  • Send the contents of the text area as e-mail. (too much effort and connections).
  • Save the contents to a local txt file. (seems legit).

Are there any other useful methods for this purpose? If so what are they? Can you provide a link which explains how to implement those solutions?

Thanks.

Was it helpful?

Solution

I'd probably save the results of the textarea into your database rather than a text file or an email. You can write a simple admin script to read the results when you want to. here's an tutorial if you're unfamiliar with reading from / writing to dbs http://teamtutorials.com/web-development-tutorials/php-tutorials/inserting-data-into-a-mysql-database-using-php#.USuc76Wsh8E

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top