• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
$this->load->vars($array)

#1
[eluser]Yash[/eluser]
$this->load->vars($array)

i use this as
Code:
function Blog()
    {
        parent::Controller();    
        $pr[]=1;
        $pr[]=2;
        $this->load->vars($pr);
        
    }
    
    function index()
    {
        
        echo $pr;
        
    }

not working ...

Please me how to use this.


Messages In This Thread
$this->load->vars($array) - by El Forum - 06-30-2008, 03:19 AM
$this->load->vars($array) - by El Forum - 06-30-2008, 03:36 AM
$this->load->vars($array) - by El Forum - 06-30-2008, 03:38 AM
$this->load->vars($array) - by El Forum - 06-30-2008, 04:03 AM
$this->load->vars($array) - by El Forum - 06-30-2008, 04:08 AM
$this->load->vars($array) - by El Forum - 06-30-2008, 04:14 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.