Hi...im new to Yii framework. i want to know how to create a custom form(add my own controls) and perform data manipulation tasks like insert,delete,retrieval and updation. Is there a way to connect to the database using the code??? I mean i dont want to use the generators in the GII to create the model.How do i specify that the contents of a textbox or a dropdown list box must be saved to a particular table when a button is clicked.
pls help. Thanks in advance
Page 1 of 1
Connecting control to the database how to add a textbox and save the contents of a textbox to a db
#2
Posted 13 March 2012 - 07:37 AM
Neilroy, on 07 March 2012 - 05:31 AM, said:
Hi...im new to Yii framework. i want to know how to create a custom form(add my own controls) and perform data manipulation tasks like insert,delete,retrieval and updation. Is there a way to connect to the database using the code??? I mean i dont want to use the generators in the GII to create the model.How do i specify that the contents of a textbox or a dropdown list box must be saved to a particular table when a button is clicked.
pls help. Thanks in advance
pls help. Thanks in advance
Create Module with GII and than modify it as per your requirement.
Bapi Roy
#3
Posted 05 April 2012 - 06:25 AM
follow this tutorial
www.larryullman.com/2009/11/03/configuring-yii/
www.larryullman.com/2009/11/03/configuring-yii/
Share this topic:
Page 1 of 1

Help











