I have this criteria params array (i try this, but it's not working):
$dataProvider = new CActiveDataProvider('mydata', array(
'criteria'=>array(
'condition' => 'row=:id',
'params' => array(**strstr(':id', '.')** => '.com')
),
i need to add a strstr function to a params how can i do that?
thanx from advance
You should call the strstr function at the right place first of all:
Also make sure you actually want strstr as: