Hi all
I want to save the contents of a textarea within my webform as a text file .txt
on my webserver. In addition, I want to save it with the same file name as the
next autoincrement number in my sql table.(e.g. If I have 15 records in my table
then the next autoincrement number will be 16 when I add a new record and I want
the text file to be saved as 16.txt)
sadly this is far as I have got cos im not sure how to do either of the above.
<?php
$textfileconten ts=$_POST['text'];
?>
Any help greatly appreciated
Regards
Dynamo
I want to save the contents of a textarea within my webform as a text file .txt
on my webserver. In addition, I want to save it with the same file name as the
next autoincrement number in my sql table.(e.g. If I have 15 records in my table
then the next autoincrement number will be 16 when I add a new record and I want
the text file to be saved as 16.txt)
sadly this is far as I have got cos im not sure how to do either of the above.
<?php
$textfileconten ts=$_POST['text'];
?>
Any help greatly appreciated
Regards
Dynamo
Comment