php - search field with comma separted values in model for yii -
i have 2 tbles
1.users(userid,username) 2.movie(movieid,moviename,viewerid)
i new yii,want display gridview search.
i have table movie ,in viewerid filed contain id of users 1,2,3
another table users having userid,username corresponding this.
i have serach inside grid view of model 'movie' viewers using name.
please me find solution
this article should you. http://www.yiiframework.com/wiki/281/searching-and-sorting-by-related-model-in-cgridview
Comments
Post a Comment