Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  is there anyboding talking french in this forum

phpMyEdit General     is there anyboding talking french in this forum
Post new topic   Reply to topic    
 
chrisfrench     Joined: 17 May 2004   Posts: 1  
Post Posted: 2004-05-17 22:30
Back to top  Reply with quote     

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     Joined: 17 Jun 2003   Posts: 537   Location: Slovakia
Post Posted: 2004-05-19 10:31
Back to top  Reply with quote     

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     Joined: 23 Mar 2003   Posts: 159   Location: FRANCE
Post Posted: 2004-05-20 14:18
Back to top  Reply with quote     

(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.
 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy