My application has a db that at least has 2 tables:
class =>
id => as PK
class_name
teacher_id
student =>
id
class_id => as class_id as foreign key from class table
student_name
age
sex
and in my index.php(class), I've use Kartik Gridview for showing the data of the class.
As you know, there are many actions in gridview, such as view button action.
Example:
My index.php show a data from class with id = 101 in gridView form.
How do I can show all student_name from student table that has class_id = 101?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi Kartik, Thanks for this awesome ext :)
My application has a db that at least has 2 tables:
class
=>student
=>class
tableand in my index.php(class), I've use Kartik Gridview for showing the data of the class. As you know, there are many actions in gridview, such as view button action. Example: My index.php show a data from
class
withid
= 101 in gridView form. How do I can show allstudent_name
fromstudent
table that hasclass_id
= 101?Thanks