Welcome Guest, Not a member yet? Register   Sign In
CI more javascipt related!
#2

[eluser]beaudierman[/eluser]
Do you want to just display that session variable's value in your JavaScript? If so, this will get the job done as long as you have the session library loaded:

Code:
data.addRows([
          ['Visits', <?php echo $this->session->userdata('sess') ?>]
        ]);


Messages In This Thread
CI more javascipt related! - by El Forum - 06-07-2012, 11:20 AM
CI more javascipt related! - by El Forum - 06-07-2012, 11:25 AM
CI more javascipt related! - by El Forum - 06-07-2012, 11:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB