Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 30. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Multiple Joins?

phpMyEdit Configuration     Multiple Joins?
Odoslať novú tému   Odpovedať na tému    
 
bjamn     Založený: 25.12.2006   Príspevky: 5  
Príspevok Zaslal: 2006-12-25 07:54
Návrat hore  Odpovedať s citátom     

I am looking for a little help in joining multiple table data. I have 3 tables:
Teachers:
TID - teacher id
TNAME - teacher name

Children:
CID - child id
CNAME - child name

Authorization:
IDX - auto incremented index
TID - teacher id
CID - child id

Can someone give me an example of how to get a listing of all children that are grouped with each teacher if you are given the TID only? Any help would be greatly appreciated.

bJamN

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2007-01-04 12:44
Návrat hore  Odpovedať s citátom     

afaik the easiest is to make pme work with authorization table, joining with 'values' to both teacher and student tables. than make use of the built in filters to filter just one teacher.

 
bjamn     Založený: 25.12.2006   Príspevky: 5  
Príspevok Zaslal: 2007-01-05 00:17
Návrat hore  Odpovedať s citátom     

Thank you so much. I was beginning to think that no one would EVER respond. Doing this works perfectly. Maybe it was TOO "elementary" to warrant a response.

Once again, THANK YOU!!

bJamN

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2007-01-05 11:58
Návrat hore  Odpovedať s citátom     

i guess vacation was more the issue...

 
hohlermann     Založený: 10.01.2007   Príspevky: 1  
Príspevok Zaslal: 2007-01-10 22:28
Návrat hore  Odpovedať s citátom     

I've just started using phpMyEdit, and I was looking at the forums, trying to find a solution to my problem; this thread seemed to mirror my issue.

I've been scratching my head, looking over the manual, and it's not making much sense.

I've been trying ['values']['filters'], but I keep getting messages about ambiguity. I thought it may be an advanced join, but that's not working either.

Three tables:

industries
-id
-name

career_areas
-id
-name
-industry_id

jobs
-id
-industry_id
-career_areas_id

I'm looking to edit a job that already contains an industry_id, selecting the career_area_id from a list of all the career_areas with that industry_id .

Can you share your solution? Thanks!

 
fefe64     Založený: 11.12.2006   Príspevky: 13  
Príspevok Zaslal: 2007-01-24 22:56
Návrat hore  Odpovedať s citátom     

Hello Hollerman, did you find an exemple? i'm like you and i don't find exemple!!
Thanks if you have it

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov