In this tutorial I will show you how to use the yiicombogrid plugin to dynamically select item based on previously selected item. Here I will show you how to select state based on selected country. First we will create two tables ‘country’ and ‘state’. Table country has two coloumns id(pk) and name. Below is the query […]
Category: Yii
Combogrid integration with yii
Here I will show you how to integrate combogrid with Yii Framework. For that there is a plugin for Yii which can be downloaded from here. After downloading the file you can unzip the files and copy the combogrid folder into the ‘extensions’ folder. Now you have to map the controller class into Yii application, for that […]
Yii ajax form submission
In this post I will show you how to insert values into database using Yii ajax form.First of all download the frame work from the yii site http://www.yiiframework.com/download/ . I am using the version Yii 1.1. After downloading the file you can create a basic application using command prompt. First you have to set the environment […]