Jarek has asked for the wisdom of the Perl Monks concerning the following question:
I hope you know what I mean. Generaly I want to execute the rest of the code when button was pressed. Is there any simple way to do it ? Regards, Jarek#!/usr/bin/perl -w use warnings; use CGI; my $content = new CGI; print $content->header("text/html"); print "SOME TEXT HERE"; <SUBMIT BUTTON WITH ACTION SOME ACTION (WHAT ACTION?)- MUST BE PRESSED + IF YOU WANT TO READ MORE> if ( $pressed ) { print "REST OF THE PAGE"; } print $content->end_html;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to display part of the page when click on submit (CGI)
by zwon (Abbot) on Nov 13, 2009 at 19:49 UTC | |
by Jarek (Novice) on Nov 16, 2009 at 13:06 UTC |