Here's an update in case anyone's interested. I studied another script that does print a link correctly, and applied its approach to this one as follows:
In the form, I name the input "continue" like this:
<input type="hidden" name="continue" value="http://www.webmonkeydean.com/et-toi/">
In the script I assigned a value to "$JUMP_URL" like this:
$JUMP_URL="$fields{'continue'}";
and wrote the links like this:
<a href="$fields{'continue'}">Continue</a>
This works for the "you already voted" html page, which is a simple page to generate. But it does not work for the "results" page, which is printed by the script in 3 or 4 sections. In that page the link for "continue" shows up as empty quotes ("") instead of the URL.
I'm going to try turning off buffering by adding $|=1; to the second line and see it that fixes it. I'll let you know how it goes. Thanks for tuning in!
In reply to Re: Writing link on HTML page
by Deanimal
in thread Writing link on HTML page
by Deanimal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |