On 15 Jun 2004, at 14:18, Werner Otto wrote:

I have a hyperlink defined as: <a href=host.cgi name=$hostname value=$hostname>$hostname</a> in a form.

http://validator.w3.org/ is your friend. There is no name or value attribute for the anchor element.


$hostname = escapeHTML($hostname);
print qq(<a href="host.cgi?hostname=$hostname">);

Then the variable is called "hostname" not "$hostname".

--
David Dorward
     <http://dorward.me.uk/>
<http://blog.dorward.me.uk/>


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to