Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Displaying Information from 2 tables in Select Drop down

phpMyEdit General     Displaying Information from 2 tables in Select Drop down
Odoslať novú tému   Odpovedať na tému    
 
aslan     Založený: 22.05.2004   Príspevky: 5  
Príspevok Zaslal: 2004-07-12 23:25
Návrat hore  Odpovedať s citátom     

I have 3 tables, on that is being populated.

The other two are related through and id so the tables are similar to this

Table 1 (table to be populated)
ID
Name
Type_ID

Table 2 (Where Type_ID is pulled from)
Type_ID
Type_Name
Cat_ID

Table 3 (Where Cat ID from tbl 2 is pulled)
Cat_ID
Cat_Name

For table one I want to display the Type_Name & Cat_Name in a pulldown to populate Type_ID in #1.

Reason some Categories have Types that have the same name, but the data in those types remains different.

Thanks,
A

 
pakman     Založený: 09.07.2004   Príspevky: 5  
Príspevok Zaslal: 2004-07-13 15:53
Návrat hore  Odpovedať s citátom     

i've got similar problem.

I've tried join, [description] etc and it doesn't work.
I only want to build the f*k*ng description from the fields of other tables. I don't know why in the description array is impossible to make relation to another table. If 'description' wasn't a query to a table, maybe with simple coding i can made it making another query to db and writing it manually. But not, the 'description' field can be only a forced query to the [value][table].

 
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