Hi. I am trying to work out how I would assign values to a new CGI object within a sub-routine. I am already running the sub, so there is not a posibility of using 'hidden' values in the HTML page before. Is this possible? I'm pretty sure I saw some code around once explaining how to do it, but I can't for the life of me find it now :(
I have looked at the documents here;
http://[1] http://search.cpan.org/author/LDS/CGI.pm-2.93/CGI.pm
http://[2] http://search.cpan.org/author/LDS/CGI.pm-2.93/CGI.pm#SETTING_THE_VALUE_S_OF_A_NAMED_PARAMETER_
...but the code I have made from these examples;
$IN->param( -name=>'SessionDate', -value=>$date );
...doesn't seem to be working
Anyone got any ideas? I know for a fact there is stuff about it in this forum, but I just can't find it :(
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
I have looked at the documents here;
http://[1] http://search.cpan.org/author/LDS/CGI.pm-2.93/CGI.pm
http://[2] http://search.cpan.org/author/LDS/CGI.pm-2.93/CGI.pm#SETTING_THE_VALUE_S_OF_A_NAMED_PARAMETER_
...but the code I have made from these examples;
$IN->param( -name=>'SessionDate', -value=>$date );
...doesn't seem to be working
Anyone got any ideas? I know for a fact there is stuff about it in this forum, but I just can't find it :(
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!