I am using Yii 1.1.15 framework.
I can't search & as a symbol in a attribute (ex. brand_name) in the query string. If I enter & symbol the URL looks like this:
localhost/doctors/brand/?brand[brand_name]=&&brand[brand_status]=
Here the case is brand[brand_name]=&
. It does not consider the &
and is taken as the next parameter termination, if i just encode that character, it becomes: %26
so the url becomes localhost/doctors/brand/?brand[brand_name]=%26&brand[brand_status]=
and it gives the correct result.
But how to encode the yii CGridView filter text data?
Thanks in advance.