Hello I am a trying to write the content of a text area to a txt file. Using the following ode i get an error message saying that the variable example is not defined. Any help please…?
this is my code:
[php]
<?php $area=$_POST["example"]; $fp=fopen("test.txt","w"); fwrite($fp, $area); fclose($fp); ?>[/php]