Not very sure about this problem, when I use the below code, it will always return nothing. Anyone knows? Thanks.
$rs=Student::find( array(
"conditions" => "name like '%?1%'",
"bind" => array(1 => $query),
));
Not very sure about this problem, when I use the below code, it will always return nothing. Anyone knows? Thanks.
$rs=Student::find( array(
"conditions" => "name like '%?1%'",
"bind" => array(1 => $query),
));