| Index
» Projects
» phpMyEdit
» Forum
» join 2 table [solved] - join 2 cloumn [not solved] |
 |
spuri
Joined: 29 Sep 2004
Posts: 4
Posted: 2004-09-29 22:59
Back to top
Reply with quote
|
I would like to make something similar than it is in the old examples:
http://phpmyedit.org/configuring.php
Full table lookups
or at least
Simple table lookups
is there updated example files available for download somewhere? what i could find in the forum that's much more difficult :( or is that truth, is this this much more difficult newer version ??? should i use older version or what could i do?
thanks
spuri
Last edited by spuri on 2004-10-14 15:36, edited 1 time in total
|
michal
Joined: 17 Jun 2003
Posts: 537
Location: Slovakia
Posted: 2004-09-30 09:38
Back to top
Reply with quote
|
for me it's easy :)
http://opensource.platon.sk/projects/doc.php/phpMyEdit/html/configuration.input-restrictions.html#AEN807
you just have to know which is the other 'table', which 'column' you want to join to, and what you want to be displayed ('description')
|
spuri
Joined: 29 Sep 2004
Posts: 4
Posted: 2004-10-04 12:17
Back to top
Reply with quote
|
thanks this helped me a lot
only thing i am looking for to make sum of coloumns
i hope phpMyEdit-report.class could help
thanks
s
|
michal
Joined: 17 Jun 2003
Posts: 537
Location: Slovakia
Posted: 2004-10-04 15:19
Back to top
Reply with quote
|
maybe
'sql' => 'column1 + coulmn2 + column3 '
will work...
|
spuri
Joined: 29 Sep 2004
Posts: 4
Posted: 2004-10-14 14:38
Back to top
Reply with quote
|
I have 2 similar tables:
szla_partner_pi:
ID
partner
szla_partner_rg:
ID
partner
I use partner tables to fill pcode(id in partner table) from dropdown list this works for me with 1 table but how can i diaplay partners from both?
$opts['fdd']['pcode'] = array(
'name' => 'Partner',
'select' => 'T',
'maxlen' => 10,
'default' => '0',
'required' => true,
'sort' => true
);
$opts['fdd']['pcode']['values']['table'] = 'szla_partner_pi';
$opts['fdd']['pcode']['values']['column'] = 'pcode';
$opts['fdd']['pcode']['values']['description'] = 'partner'; // optional
|
jiliray916@
Joined: 01 Nov 2023
Posts: 563
Posted: 2024-01-06 10:15
Back to top
Reply with quote
|
I am incessantly thought about this, thanks for putting up.
roof cleaning bristol
|
QADIRSEO
Joined: 29 Dec 2023
Posts: 1168
Posted: 2024-01-08 11:43
Back to top
Reply with quote
|
If you’re still on the fence: grab your favorite earphones, head down to a Best Buy and ask to plug them into a Zune then an iPod and see which one sounds better to you, and which interface makes you smile more. Then you’ll know which is right for you.
shillong teer result
|
|
Post new topic
Reply to topic
|
|
|
|