<?php $dynamic_list = "AA, AB, BA"; $static_list = "MC,JL,EO"; $search = "JL"; if (strpos($dynamic_list . ',' . $static_list, $search) !== false) { echo 'found'; } else { echo 'not found'; }
You have javascript disabled. You will not be able to edit any code.