Wow Gizmola. <insert exploding head emoji here> Thanks! You've given me some really good ideas and a lot of information for me to investigate and learn.
Greatly appreciated!
Oops! Sorry, I won't make that mistake again!
OK, I understand your hint. I've seen similar examples and just didn't understand until now.
Thanks for your help (and for correcting me about uploading code).
Dave
Hi,
I'm struggling to get a simple example to work (with really no experience in php and just enough to make things work in html).
My problem is this simple web page runs the php script when the page is loaded, writing to a file. I don't want the script to run until the submit button is pressed.
What am I doing wrong?
Thanks,
Dave
test.php.txt
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.