| Index
» Projekty
» phpMyEdit
» Fórum
» Field value in help-column |
 |
sba
Založený: 31.07.2008
Príspevky: 12
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
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
|
|
|
|