Forums

DB Read Condition Using str_contains

drgolden 10 Aug, 2021
I have db read statement that returns fields that only contain a specific string. (For example: <?php return array( 'Presentation_Tracks !=' => 'Medical CEU Eligible' );?>

However, some of the "Presentation_Tracks' fields contain multiple strings(for example: Programming,Medical CEU Eligible,Child Development)

I need a db read statement that will return all fields in which the string contains a specific string, for instance 'Medical CEU Eligible'
You need to login to be able to post a reply.