I want data input in first model AddSchool but when i input data in AddStudent using create view it should be auto update text field i.e.,school_logo,school_address,school_phone,school_email,school_website on select dropdown list of school_name.
I want data input in first model AddSchool but when i input data in AddStudent using create view it should be auto update text field i.e.,school_logo,school_address,school_phone,school_email,school_website on select dropdown list of school_name.
[color="#006400"]/* Moved from "Yii-powered Application" to "General Discussion for Yii 1.1.x" */[/color]
[color="#006400"]/* Two topics merged. */[/color]
Hi Vikash,
Your question is not clear enough.
Please tell us the exact table schema for School And Student, and the relation between the two.
What are “school_name,school_logo,school_address,school_phone,school_email,school_website” fields in Student? And don’t you have a foreign key to School in Student?