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

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

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