pdo'd the search screen
finally getting a grasp of pdo statements. need to add group by back in and fix the remaining two sql queries.
wines are being pulled out of the database correctly again.  next to rewrite second and third sql queries in pdo.
updated 2nd and 3rd sql queries.  not a hundred percent this is the correct way to do it.