Originally Posted by coolguyvarun01
But now my senior wants me to save the data Entered in user forms to be saved in a text file. any help on that???
Accomplishing this in PHP is very simple:
$data = $_GET['username'] . $_GET['password'];
file_put_contents("users.txt", $data, FILE_APPEND | LOCK_EX);
You should also look into using a mySQL database, like phpmyadmin, saving information in a text file is not very efficient or safe.
I honestly can't think of many reasons why you would want to save information in a text file or not use PHP for that matter...