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  »  is there anyboding talking french in this forum

phpMyEdit General     is there anyboding talking french in this forum
Odoslať novú tému   Odpovedať na tému    
 
chrisfrench     Založený: 17.05.2004   Príspevky: 1  
Príspevok Zaslal: 2004-05-17 22:30
Návrat hore  Odpovedať s citátom     

bonjour,
je recherche la manière de faire une jointure.
j'ai parcouru un peu les solutions de bugs, il semble que la solution soit à portée de main.

j'ai 2 tables

table A
col_A1 - col_A2
z - y

table B
col B1 col B2
y - x

Je souhaite : quand j'édite A afficher :

A1 en edition sur
A2 qui pointe sur B1
B2 avec la valeur associée à la valeur de A2(B1)
j'aurais donc select B.B2 where B.B1=y par exemple ce qui m'affiche x

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2004-05-19 10:31
Návrat hore  Odpovedať s citátom     

i believe that you might need something like this: http://opensource.platon.sk/projects/doc.php/phpMyEdit/html/configuration.input-restrictions.html#AEN816

if my french knowledge is still valid....

 
hbernard     Založený: 23.03.2003   Príspevky: 159   Bydlisko: FRANCE
Príspevok Zaslal: 2004-05-20 14:18
Návrat hore  Odpovedať s citátom     

(Sorry for others, I will answer in french because I think this has been said elsewhere in forums)

Salut,

la jointure se fait sur les champs A.A2 = B.B1, c'est ça ?

(en sql, on ferait :
select A.A1, B.B2 from A, B where A.A2 = B.B1
)

Pour opèrer cette jointure, il faut, pour le champ A2

'values' => Array(
'table' => 'B', //la table jointe
'id' => 'B1', //le champ correspondant pour la jointure
'desc' => 'B2' // le champ a afficher
),

Est ce que j'ai bien compris la question ?

_________________
hbernard - phpMyEdit updater.
 
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