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

phpMyEdit Configuration     multiple descritption question
Odoslať novú tému   Odpovedať na tému    
 
gz     Založený: 30.04.2004   Príspevky: 9  
Príspevok Zaslal: 2004-05-01 17:22
Návrat hore  Odpovedať s citátom     

hello,

i have 3 tables:

Table_Firma:
FirmenID
FirmenName
Strasse
Ort
TelefonF
.
.

Table_Person:
PersonID
Vorname
Nachname
Telefon
mail
.
.

Table_kontakt:
KontaktID
FirmenID
PersonenID
TelefonF
TelefonP
Datum
.
.
i have craete a php-page(kontakt.php based on the table_kontakt.
what i need is a drop-down-menu(in kontakt.php) in add/change-mod, wich combine Firma.FirmenID+Person.PersonID
but not the id's i need the real values.

Kód:

..
$opts['fdd']['KontaktID'] = array(
  'name'     => 'Nachname',
  'select'   => 'T',
  'maxlen'   => 11,
  'default'  => '0',
  'required' => true,
  'sort'     => true
);
$opts['fdd']['KontaktID']['values']['table'] = 'Kontakt';
$opts['fdd']['KontaktID']['values']['column'] = 'KontaktID';
$opts['fdd']['KontaktID']['values']['description'] = 'Name';

$opts['fdd']['FirmenID'] = array(
  'name'     => 'Firma',
  'select'   => 'T',
  'maxlen'   => 20,
  'default'  => '0',
  'sort'     => true
);
$opts['fdd']['FirmenID']['values']['table'] = 'Firma';
$opts['fdd']['FirmenID']['values']['column'] = 'FirmenID';
$opts['fdd']['FirmenID']['values']['description']= 'FirmenName';
..

i have tryed this with multiple decsription
but the problem was, that the second value is not in
the same table like the first value.

can ? and how i can combine this 2 fields in Add/Change-Mod in one drop-down-menu?(i haope you understand my problem)


thank you very much indeed
gz[/quote]

 
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