sub cart_previewitem { $id = param('id'); $sth = $dbh->prepare("SELECT * FROM items WHERE id = '$id'"); $sth->execute or die $dbh->errstr; @slog = $sth->fetchrow_array; print qq~
$slog[2] - $slog[4]
$slog[7]: "; } if($slog[9] && $slog[10]) { (@nslog) = split(/\n/, $slog[10]); print " $slog[9]: "; } if($slog[11] && $slog[12]) { (@nslog) = split(/\n/, $slog[12]); print " $slog[11]: "; } print qq~ |