| Index
» Projects
» phpMyEdit
» Forum
» Field value in help-column |
 |
sba
Joined: 31 Jul 2008
Posts: 12
Posted: 2008-08-13 07:52
Back to top
Reply with quote
|
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
Joined: 08 Jul 2008
Posts: 9
Posted: 2008-08-29 10:25
Back to top
Reply with quote
|
| Code: |
| '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
| Code: |
$peek = mysql_query("SELECT Model AS one FROM medico WHERE Inventar LIKE $PME_sys_rec");
$image = mysql_fetch_array($peek); |
|
|
Post new topic
Reply to topic
|
|
|
|