Jumi variable not available in included script

A multipurpose module, plugin and component

Jumi variable not available in included script

New postby mehrap » Sun Aug 17, 2014 1:36 pm

I am using joomla 3.2 with jumi 3, here is a sample of how I setup my jumi application

[myscript.php] [foo] [bar]

here is myscript.php

Code: Select all
   <?php
   
       echo $jumi[0];
       echo $jumi[1];
    ?>


above script is successfully able to print the values as `foo` & `bar`

but if I modify the same to include another script ans try to get the variables in that script then it does not have any value

here is new myscript.php

Code: Select all
    <?php
   
        include 'foobar.php';
    ?>


foobar.php

Code: Select all
    <?php
   
       echo $jumi[0];
       echo $jumi[1];
    ?>


this fails to print the values. help me find if I am missing something
mehrap
 
Posts: 1
Joined: Sun Aug 17, 2014 1:08 pm

Return to Jumi

Who is online

Users browsing this forum: No registered users and 4 guests

cron