Using 'LIKE' in sql WHERE clause...SOLVED (i think)

2 posts by 2 authors in: Forums > CMS Builder
Last Post: November 18, 2008   (RSS)

By rcrofoot - November 17, 2008

Hi Dave-

Disregard my last post about using the 'LIKE' clause...I discovered if I include

'allowSearch' => '0',, it works fine...

list($certificationsRecords, $certificationsMetaData) = getRecords(array(
'tableName' => 'certifications',
'orderBy' => 'model ASC',
'allowSearch' => '0',
'where' => "model like '%".$model."%'",
));

:-) Rick