1
RemyA
reading value of an array from xoops_version
  • 2003/12/10 12:08

  • RemyA

  • Documentation Writer

  • Posts: 14

  • Since: 2003/12/5


Can anyone help me out with the following:

in xoops_version.php we can put :

$modversion['tables'][1] = "value_value1";
$modversion['tables'][2] = "value_value2";
$modversion['tables'][3] = "value_value3";
$modversion['tables'][4] = "value_value4";
$modversion['tables'][5] = "value_value5";

not a single problem with that !

The problem start when we want to get tables[3] displayed.

for the var
$modversion['dirname']= "value1";

We could code the easy line
echo $xoopsModule->getVar('dirname');
which will procude the output : value1

What i want is to display the value of tables[3] only

I did try different values so did my collegeau
Could anyone point me out a solution ?

Regards,

Remy

ps:i posted this also in the Q/A section

Login

Who's Online

386 user(s) are online (90 user(s) are browsing Support Forums)


Members: 0


Guests: 386


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits