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!
Hi guys, im not so good in programming, can you help me with this, i can sense this would be very simple to some of you. My problem is, i changed the action page from index.php (where this code is present) into a new page which is thankyouform.php. The issue here is, the form doesnt write to the file after i changed the action page. What seems to be the problem. Can someone help me pls. Below is the code.
Yeah the code will definitely work. However, the form should be on a different page, such as when i submit the form, it will go to the thank you page and the form will also write to the file. What happened here is that, the form does not save the data from the txt file.
Sorry i was kinda slow.. yes the code is working now after i transfer it to the thankyouform.php. Thanks for the assistance. But another thing... not sure if I did it correctly on writing the IP address. Something is wrong since it doesnt write the IP address to the file.. but the name and email does.
sketteksalfa wrote:Sorry i was kinda slow.. yes the code is working now after i transfer it to the thankyouform.php. Thanks for the assistance. But another thing... not sure if I did it correctly on writing the IP address. Something is wrong since it doesnt write the IP address to the file.. but the name and email does.