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  »  add new data?

phpMyEdit Configuration     add new data?
Odoslať novú tému   Odpovedať na tému    
 
olafmol     Založený: 06.11.2004   Príspevky: 2  
Príspevok Zaslal: 2004-11-06 16:51
Návrat hore  Odpovedať s citátom     

Hello,

i use PME to display the contents of a users table. There are some fields that i want the user to be able to select the current available data in that field... using the ['values']['table'] and ['column'] this works very good.... but i also want the users to add new data in this field if the option they want to enter isn't already available in the database..... how can i add an empty field next to the dropdown-box with current data, and make PME insert/update this data if the empty field was filled instead of a selection in the dropdown-box??

cheers, Olaf

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

there is an ugly hack/patch somewhere on this site. but i personnaly didn't like the approach of that.
what i would do is a link to another pme page managing entries and let users add to that table (with a link back, headers redirect,...). little extra work, but more clear, i think.

 
olafmol     Založený: 06.11.2004   Príspevky: 2  
Príspevok Zaslal: 2004-11-07 11:19
Návrat hore  Odpovedať s citátom     

hi Michael,

thanks for your quick reply!

Sounds like a solution..the thing is that the data is not populated from another table, but from a column in the same table as the rest.....this means the link would only show a form with one record, not something that would win prices because of it's useability ;)

cheers anyway! Olaf

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2004-11-07 22:52
Návrat hore  Odpovedať s citátom     

the patch i mentioned:

http://opensource.platon.sk/projects/bug_view_advanced_page.php?f_bug_id=181

 
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