Sorry about saying "guys". I didn't realize at first that both posts were yours, millenium. Thanks a lot.
You were right about the http headers. I didn't even see that. Thanks! There are some new issues...
When first visiting the site, it says:
"Sorry, your word was:"
New Game button
If I then press the "New Game" button, that game starts and works fine. Other than that, your iteration of the script seems to work fine! Great, thanks!
I changed this in the script:
to this:
Notice the whitespace now inside the quotation marks?
I did that so that when a game is played, it will show, say 10 spaces if the word in question happens to have 10 letters to guess. The problem now is that, when I do that, I have noticed that, say once again that a word has 10 letters, fifteen spaces will actually appear, and even if you get the word right, there are still empty spaces and the game will force a loss on the player if you continue down to 0 guesses. Why is that? I would appreciate any further help, millenium! Thank you!
Chris