J
|
Jane 10/15/2008 |
Hi, |
I
|
illi author 10/15/2008 |
This is what I have come up with, but it's not working...can you help me out? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=33965&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> |
T
|
thesofa 10/15/2008 |
check spelling as you have once spelled $Classroom as $Classrom. |
I
|
illi author 10/15/2008 |
Thanks sofa...apparently it's too early here, it's working now. This event seems to have messed up my data being displayed in the list. I was concatenating First and Last name and now nothing is showing up in my "Name" field. Hmmm. |
I
|
illi author 10/15/2008 |
I figured it out. Thanks for your help Jane and Sofa. |
I
|
illi author 10/15/2008 |
And I spoke too soon...I have a teacher with two classrooms (thus two ClassroomID's) and only students from her first ClassroomID are being displayed on the list page. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=33971&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' /> |
![]() |
Sergey Kornilov admin 10/15/2008 |
If one teacher has multiple classrooms assigned you need to go through the list building the following WHERE clause: students.ClassroomID = 335 or students.ClassroomID = 413 or ...
|
I
|
illi author 10/15/2008 |
This is what I have right now. I'm not quite sure how to implement your solution as $data[ClassroomID] is only returning one of of the two values (which I verified by echoing it). If I paste the query into the query editor and set the TeacherID it returns the two ClassroomID's. Sorry, this is a bit beyond me. |
![]() |
Sergey Kornilov admin 10/15/2008 |
You can post your application to Demo Account and contact support team directly at support@xlinesoft.com |
I
|
illi author 10/15/2008 |
I think I'm getting closer, but it still only returns (students.ClassroomID='1') in the echo. The TeacherID is also associated with ClassroomID's 3 and 4. |