Help for this page

Select Code to Download


  1. or download this
    sub getById
    {
         my ($table, $column, $id) = @_;
    ...
         $sth->finish();
         return $result;
    }
    
  2. or download this
    sub getCustomerById
    {
         my ($id) = @_;
         return getById("customers", "cust_id", $id);
    }