PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have an form in which when the user types first name, that data should be written in a .txt file. Below is the code with which the a .txt file is created. When $string_data is passed ,it passes the data "How are you" to textFile.txt but how can I pass the contents of a text field name "FirstName" to "textFile.txt". I appreciate any help.