develooper Front page | perl.beginners | Postings from April 2002

Re: Hidden fields and Perl

Thread Previous | Thread Next
From:
drieux
Date:
April 29, 2002 17:15
Subject:
Re: Hidden fields and Perl
Message ID:
3DF32310-5BCF-11D6-8162-0030654D3CAE@wetware.com

On Monday, April 29, 2002, at 12:46 , ray wrote:

Sorry about the original response - typed at what I thought
was an idea - should have read your code in more depth...

> print "<form  method=\"GET\" action=\"song_admin.cgi\" 
> name=\"delLink\">\n";

I assume that song_admin.cgi is suppose to catch them....

> print "<table border=1 width=90%>";
> print "<tr>";
>
>
> print "<td height=40 colspan=5 align=left valign=bottom>
> <blockquote><h3>$nameHead - $Artist</h3></blockquote>
> </td></tr>";
>
>
> print "<input type=\"hidden\" name=\"name\" value\"$nameHead\">";
> print "<input type=\"hidden\" name=\"file\" value\"$filename\">";
> print "<input type=\"hidden\" name=\"artists\" value\"$Artist\">";

but where did you set the variables before you printed them as
a webPage????

so since you have not done any sort of

	$nameHead = "someValName";
	$filename = "someFile";
	$Artist = "Bob Dylan";

prior to your prints - those three variables are blank...
and come up as blank....


ciao
drieux

---


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About