Hi all My problem as:
$queryTerms = '%'.preg_replace('/[ \t]+/', '%', $q).'%'; // %08%
$Hososinhvien = Hososinhvien::find(array(
"conditions" => "MaSV LIKE = ?1",
"bind" => array(1 => $queryTerms)
));
after run mycode above display Syntax error, unexpected token EQUALS, near to ' ?1', when parsing: SELECT [Eduapps\Backend\Models\Hososinhvien].* FROM [Eduapps\Backend\Models\Hososinhvien] WHERE MaSV LIKE = ?1 (110) help