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  »  Field value in help-column

phpMyEdit General     Field value in help-column
Odoslať novú tému   Odpovedať na tému    
 
sba     Založený: 31.07.2008   Príspevky: 12  
Príspevok Zaslal: 2008-08-13 07:52
Návrat hore  Odpovedať s citátom     

it is possible to use the field-value in the help-colum (only in view-page, options=>'V')?

long description of my problem: i have a row containing the contry-code. in the value-colum i want to show as usually text (e.g. 'SUI') and in the help-colum the picture with the flag.

 
rimmo69     Založený: 08.07.2008   Príspevky: 9  
Príspevok Zaslal: 2008-08-29 10:25
Návrat hore  Odpovedať s citátom     

Kód:
'help|VACP'  => "<a href= '../mediawiki-1.13.0/index.php5?title=$image[one]' target='_blank'><img SRC='./model/$image[one].jpg' WIDTH=256></a>"


I use this code to display a picture of my equipement... changing VACP to just V does the trick.

The sql to get the array varible for me is
Kód:
$peek = mysql_query("SELECT Model AS one FROM medico WHERE Inventar LIKE $PME_sys_rec");
$image = mysql_fetch_array($peek);


 
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