padawan
-
Posts
1 -
Joined
-
Last visited
Never
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
While loop and Array Problem
in PHP Coding Help
Posted
These are my tables and fields.
student_info(table) contains ( id(PK), student_name)
student_subject(table) contains ( id(PK), student_id(FK), subject_name)
below is my query:
In student_subject table I have at least 5 subjects(different rows) pointing to the same student. But the variable subjects in the array can only get 1 value how I can get those other subjects . I need simple solution/query coz I just started learning about this. Thank you for your help