Perl
c478923 at showme.missouri.edu
c478923 at showme.missouri.edu
Fri Dec 19 08:08:59 EST 1997
Try this David:
if ($in{'subject'} eq "art")
{
print "<a href =http://salve4.salve.edu/sub-arts.html>Whatever I
want my link to say</a>\n";
}
Jim Borwick <c478923 at showme.missouri.edu>
"Brevity is the soul of lingerie"
-Dorothy Parker
On Fri, 19 Dec 1997, David Kim wrote:
> I am a beginner for Perl. In a HTML file, I set up a pull-down menu offering
> several subjects to choose from. If a student selects "art" for example,
> I try to make the server establish a link to art web site. The following is
> a part of my cgi script. Instead of making a link, it simply print my command
> on the screen. What am I doing wrong?
>
> {
> if ($input{'subject'} eq "art")
> {
> print "Location: http://salve4.salve.edu/sub-arts.html\n\n";
> }
> }
>
> Thank you for help.
>
> David Kim
> kim at salve.edu
>
More information about the Web4lib
mailing list