please help me, i’m not catching somethings in yii :
1)shall i write all my queries in my Models or shall i put its in my controllers.
2)how shall i use form data to make a query e.g i have a CFORM and user fill it and click on submit bouton how shall i do to write a query like this SELECT row FROM Mytable WHERE row = $_post/$_GET and where shall i write this querie.
please help me i think it’s the last step before doing my own tutorials.
i’m sorry sir, just two months i’m speaking english…
how shall i use variables $_get OR $_post to create a queries i suppose that variables are from a CFormModel filled by a user …what’s the best pratice to create a query in controller or in model
Read the documentation. Follow tutorials and download and examine applications made with Yii - instead of expecting us to answer all your basic questions.