Help for this page

Select Code to Download


  1. or download this
      my $sql2 = qq/
         INSERT INTO transaction_details (quantity, gross_sales) 
          VALUES ($quantity,  convert (money, $gross_sales))
         /;
    
  2. or download this
      my $sql2 = qq/
         INSERT INTO transaction_details (quantity, gross_sales) 
    ...
         my $gross_sales = $cgi->param("gross_sales_$1");
         my $rv = $sth->execute( $quantity, $gross_sales );
       }