The Brownfield Co., Inc
Dab-A-Do
Industrial Hand Cleaners
Phone: 800-256-1819         312 Aycock Street, Arabi, LA 70032         Fax: 504-279-0000

Product Finder

Looking for a hand cleaner that will meet your specific needs, but aren't sure which of our products is right for you? Search through the Dab-A-Do database to find which of our products meet your requirements.

In the following boxes, choose the features that you are looking for in a hand cleaner.

Click the Get Results button when finished.
<% $base = "%"; $grit = "%"; $consistency = "%"; if ($Request->Form('base') ne "any") { $base = $Request->Form('base'); } if ($Request->Form('grit') ne "any") { $grit = $Request->Form('grit'); } if ($Request->Form('consistency') ne "any") { $consistency = $Request->Form('consistency'); } %>
Base:      Grit:      Consistency:     
<% # DBI is perl module used to connect to the database use DBI; # hostname or ip of server # (for local testing, localhost should work) $config{'dbServer'} = "localhost"; # username and password to log onto db server $config{'dbUser'} = "dabado"; $config{'dbPass'} = "dabado"; # name of database $config{'dbName'} = "dabado"; # MySQL driver (shouldn't need to change) $config{'dataSource'} = "DBI:mysql:$config{'dbName'}:$config{'dbServer'}"; my $dbh = DBI->connect($config{'dataSource'},$config{'dbUser'}, $config{'dbPass'}) or die "Can't connect to $config{'dataSource'}
$DBI::errstr"; #prepare and execute SQL statement $sqlstatement="SELECT StockNum, ProductName, ProductDescription, Consistency, Grit, Fragrance, Base, Size, NumPerCase, ShippingLbs, Picture FROM handcleaners WHERE Grit LIKE '%$grit%' AND Base LIKE '$base' AND Consistency LIKE '$consistency' ORDER BY StockNum"; $sth = $dbh->prepare($sqlstatement); $sth->execute || die "Could not execute SQL statement ... maybe invalid?"; #output database results print "\n"; print " \n" ; print " \n" ; print " \n" ; print " \n" ; print " \n" ; print " \n"; print " \n"; print " \n"; print " \n"; print " \n"; print " \n"; print " \n"; print " \n"; print " \n"; print " \n"; $numRows = 0; while (($stockNum, $productName, $description, $consistency, $grit, $fragrance, $base, $size, $numPerCase, $shippingLbs, $picture) =$sth->fetchrow_array) { $numRows++; $class = "noclass"; if ($productName eq "The Right-Stuff") { $class = "rightstuff"; } elsif ($stockNum ge "05000" && $stockNum le "05008") { $class = "softsoap"; } elsif ($productName eq "Dab-A-Do" && $grit eq "No-Grit") { $class = "dabado"; } elsif ($productName eq "Dab-A-Do" && $grit eq "Pumice") { $class = "dabadopumice"; } elsif ($productName eq "Scrub-A-Do") { $class = "scrubado"; } elsif ($productName eq "Easy Red") { $class = "easyred"; } elsif ($productName eq "Easy Orange") { $class = "easyorange"; } elsif ($productName eq "Heavy Duty") { $class = "heavyduty"; } $class2 = "noclass"; if ($fragrance eq "Banana") { $class2 = "banana"; } elsif ($fragrance eq "Cherry") { $class2 = "cherry"; } elsif ($fragrance eq "Grape") { $class2 = "grape"; } elsif ($fragrance eq "Orange") { $class2 = "orange"; } elsif ($fragrance eq "Lemon") { $class2 = "citrus"; } print "\n"; print " \n"; print " \n"; print " \n"; print " \n"; print " \n"; print " \n"; print " \n"; print " \n"; print " \n"; print " \n" ; } print "

Stock No.Product Description

FragranceSize# Per Case

"; if ($picture eq "nopic.gif") { print "Picture Not Available"; } else { print ""; } print "$stockNum$description

$fragrance$size$numPerCase
\n"; if ($numRows == 0) { print "







"; } $dbh->disconnect(); %>