Re: [htmltmpl] Passing a CGI param from Page to Page.
Brought to you by:
samtregar
From: Philip S T. <phi...@gm...> - 2002-08-30 07:46:57
|
Sometime on Aug 29, Jeff Pelkey assembled some asciibets to say: > However, If I pass a CGI param /cgi-bin/foo.cgi?ID=456 > My $ID = $cgi->param('ID'); > $sql = qq/ SELECT * FROM Foo WHERE ID = ? ORDER BY bar /; > $sth->execute($ID) ... > > I even used associate => $cgi, thinking this would pass the CGI params to > the template. what does your template look like? you've either got to have ?ID=456 in all your urls, or if you have a form, then as a hidden field. -- The first version always gets thrown away. |