thank you jimgwhit and rrd. No i’m sure my template was correct. i baked new model and controller and changed my view. problem solved. sometimes i have problems with views. when i create a new view that has Persian text, it will not load the text correctly and i have to put English text in it, load it, then change it and past Persian text, then restart xampp, after this process it works. the DB case is another situation like this i think. i’m glad i found the way to make it work.