11
RemyA
parsing php in wf-sections
  • 2003/12/24 10:38

  • RemyA

  • Documentation Writer

  • Posts: 14

  • Since: 2003/12/5


Does someone have experience in including php in wf-sections ?

I have tried multiple ways (by including ext file,by editor) and nothing seems to work is this a bug or a feature ?

If this is a feature, then it would perhaps a good thing to enable php in the editor or included content





12
RemyA
Re: reading an array value from xoops_version.php
  • 2003/12/10 12:29

  • RemyA

  • Documentation Writer

  • Posts: 14

  • Since: 2003/12/5


Skalpa ,

first of all i would like to thank you for your quik response !

indeed the echo you pointed prints out all of the values which rely in tables[$i]

Is there a more precise way to get the exact one i want without looping or splitting ?




13
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



14
RemyA
reading an array value from xoops_version.php
  • 2003/12/10 12:02

  • 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




TopTop
« 1 (2)



Login

Who's Online

136 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 136


more...

Donat-O-Meter

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

Latest GitHub Commits