Filter category list to display records associated with a multi-select options from a drop down list.

I'm working on a catering menu and I need to filter and display records from a "category" menu which have drop down list multi-selection from a field called "catering_menu_type". There are two options listed in the drop down multi-selector as seen as below:

1|Main Catering2|Box Catering

Im using a multi-selection drop down list, so a record can have both options selected, but I need to retrieve only the records matching the "catering_menu_type" selected.

Here's what I'm working with, and I've set the filter to bold to show what I'm trying to achieve.

<?php header('Content-type: text/html; charset=utf-8'); ?><?php

// load viewer library $libraryPath = 'cmsbuilder/lib/viewer_functions.php'; $dirsToCheck = array('/home/server/public_html/','','../','../../','../../../'); foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }} if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); } if (!@$GLOBALS['GEOCODER_PLUGIN']) { die("You must activate the Geocoder plugin before you can access this page."); } if (!@$GLOBALS['GEOCODER_GOOGLE_API_KEY']) { die("You must have a Google Maps API key to display a map, see the readme file for instructions on getting one."); exit; } if (!@$GLOBALS['WEBSITE_MEMBERSHIP_PLUGIN']) { die("You must activate the Website Membership plugin before you can access this page."); }

The code below will get the first option 1|Main Catering from the multi-selection drop down when it's set to ['catering_menu_type'] == 1, but It will not load anything beyond the first option. For example: I changed ['catering_menu_type'] == 1 to ['catering_menu_type'] == 2 and nothing loads for 2|Box Catering.