Having some trouble getting the output of one of my .PHP3 programs into a form field on a webpage.
Here's what I got:
The .PHP3 file is called namegen.PHP3, and it takes a random word from a file called name1 and a random word from name2, and combines them in this fashion: "John Smith".
Now the webpage asks for a bunch of information, such as name, email address, etc. It also asks for a character name, which should be generated by the PHP3 file.
I added a button to randomly generate said name, in the user field, but beyond looking pretty, nothing happens. I dont know how to get the output from the PHP3 to the field.
Any thoughts? (Please don't respond with "look at the docs". I've done that, but I havent seen anything that really helps me so, I've decided to ask here 🙂 )
Sarin