Welcome Guest, Not a member yet? Register   Sign In
Using Jquery to Autorefresh Div Issue
#3

[eluser]CroNiX[/eluser]
As a side, there's really no need to load your result into a variable (which takes memory to store) when all you are going to do is echo it out and not use it anywhere else. Just echo the result and avoid using the variable. You're not sending the data to a view.
Code:
$this->load->model('points');
echo $this->points->get_FighterOneScore();


Messages In This Thread
Using Jquery to Autorefresh Div Issue - by El Forum - 08-09-2012, 01:38 PM
Using Jquery to Autorefresh Div Issue - by El Forum - 08-09-2012, 01:53 PM
Using Jquery to Autorefresh Div Issue - by El Forum - 08-09-2012, 01:58 PM
Using Jquery to Autorefresh Div Issue - by El Forum - 08-31-2012, 07:49 AM
Using Jquery to Autorefresh Div Issue - by El Forum - 08-31-2012, 07:50 AM
Using Jquery to Autorefresh Div Issue - by El Forum - 10-16-2012, 01:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB