Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: info from one page to another.

by Granite (Initiate)
on Dec 31, 2000 at 21:53 UTC ( #49112=note: print w/ replies, xml ) Need Help??


in reply to Re: info from one page to another.
in thread info from one page to another.

Thanks.

So how would I get this to come up on the next page? Would it just be:

print "$cinfo";???


Comment on Re: Re: info from one page to another.
Download Code
Re: Re: Re: info from one page to another.
by lolindrath (Scribe) on Dec 31, 2000 at 22:20 UTC
    Ok, now I see what you're asking.
    <form method="post" action="./yourscript.pl"> <input type="hidden" name="cinfo" value=$cinfo> <input type="Submit"> </form>
    Ok, when you hit the submit button in the browser then you get the values you sent by doing this:
    # Look this Package up on Perlmonks to learn more about it use CGI qw/:standard/; my $Query = new CGI; # Get the parameter from the Query string by the name of # the field my $cinfo = $Query->param('cinfo'); print $Query->header(); print $cinfo;


    --=Lolindrath=--

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://49112]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2014-09-16 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (50 votes), past polls