Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Re: stupid question

Quote Reply
Re: stupid question In reply to
Are you sure you have the following codes:

Code:

my $rec = $db->get_record ($id, 'HASH');
if ($rec) {
&site_html_recommend ({ error => "Sorry an error occurred", %in, %$rec }, $dynamic) and return;
}
else {
&site_html_error ({error => "Unknown Link", %in}, $dynamic);
}


If not, then the codes won't work...if you grabbing the record in an earlier sub, like sub main...then you have to use the following codes:

Code:

&process_form ({%$rec}, $in, $dynamic);


Regards,

Eliot Lee

Subject Author Views Date
Thread stupid question ryel01 2738 Oct 10, 2000, 7:54 PM
Thread Re: stupid question
Stealth 2665 Oct 10, 2000, 8:19 PM
Thread Re: stupid question
ryel01 2663 Oct 10, 2000, 8:23 PM
Thread Re: stupid question
Stealth 2654 Oct 10, 2000, 8:26 PM
Post Re: stupid question
ryel01 2650 Oct 11, 2000, 12:46 AM