[color="#006400"]/* NOTE: moved to proper section (General Discussion for Yii 1.1.x instead of extensions) */[/color]
Hi, welcome to the Yii forum.
First of all, for the future, check a bit all the forum sections, read the descriptions below the section name to see what type of question you can post there… and then choose wisely where to post your question. For example you asked a "general question" in the extensions section that is specific for extensions questions and because your question was not proper maybe because of that you did not get any answer.
Regarding your question… if you create a new Yii application and use Gii to create the complete CRUD for one of yours tables, you will get the code that does what you are asking in the question… so check that code and study it and if something is not clear, ask in this section for help.