Using the cookie's np, got it working myself :)
here's the sub for anyone's who's interested:
sub {
# Show pricing info myfaves_price Sub
my ($sth, $db, $ID, $price, $total);
my $chop = $IN->cookie('IDList');
my @sliced = split(/ /, $chop);
my $output=qq~~;
foreach (@sliced) {
$db = $DB->table('Links');
$sth = $db->select ( { ID => $_ }, ['OurPrice']);
my ($price) = $sth->fetchrow_array;
$total += $price;
$output .= qq~$price<br />~;
}
$output .= qq~\$$total~;
return $output;
}
Comedy Quotes - Glinks 3.3.0, PageBuilder, StaticURLtr, CAPTCHA, User_Edit_Profile
here's the sub for anyone's who's interested:
sub {
# Show pricing info myfaves_price Sub
my ($sth, $db, $ID, $price, $total);
my $chop = $IN->cookie('IDList');
my @sliced = split(/ /, $chop);
my $output=qq~~;
foreach (@sliced) {
$db = $DB->table('Links');
$sth = $db->select ( { ID => $_ }, ['OurPrice']);
my ($price) = $sth->fetchrow_array;
$total += $price;
$output .= qq~$price<br />~;
}
$output .= qq~\$$total~;
return $output;
}
Comedy Quotes - Glinks 3.3.0, PageBuilder, StaticURLtr, CAPTCHA, User_Edit_Profile