ajax not keeping variable up to date Programming Web Development by dwlamb …('Error Occurred while fetching data.'); } }); } }); This is my php (using CodeIngiter): function jQuery_movies(){ $this->load->model('Model_display'); $offset = $this… Cookie stay login doubt Programming Web Development by chaitu11 I am implementing stay login functionality using codeingiter 3 Steps: 1. If user signin's successfully , checking the … Re: Ionic or CodeIgniter Programming Mobile Development by SimonIoa He confused me because he said that i shall use CodeIngiter instead of Ionic. I knew that there are not something of the same to choose from Help needed with Codeingiter email Class Programming Web Development by Ventech_IT Hi guys Just a quick question...I have recnetly created a contact form for my site in codeigniter and the email sends and all that but i seem to have a problem getting the $_POST data to display in the message body. After my validation is done and the form gets posted it will only return the first variable that i place in the paranthesis like… Re: Help needed with Codeingiter email Class Programming Web Development by cereal > the form gets posted it will only return the first variable that i place in the paranthesis like It happens because the `message()` method takes only one argument. In order to work correctly you should write something like this: $this->email->from('contact@domain.tld', 'From WebSite'); $this->email->reply_to($email, $name… Re: Help needed with Codeingiter email Class Programming Web Development by Ventech_IT thanks for the reply cereal, i solved this by problem by setting a $data array instead of using a singel variable and then posting to a view that loads all the data...it's working proper now...also thanks for always helping out... Re: ajax not keeping variable up to date Programming Web Development by pixelsoul I did a quick test with your jQuery function on my dev box here and I am not able to duplicate the issue. It seems to be working as designed for me. Perhaps an issue with your Codeigniter query, I am not sure. Re: ajax not keeping variable up to date Programming Web Development by dwlamb Out of curiosity, which browser did you use? I took another stab at it tonight and found it performs as it should in Chrome but not Firefox. No, it is not the query. I have stepped through the code using Netbeans with Xdebug. The issue is that $_POST is not getting the new offset every time. Sometimes it stays the same value. Other times it … Re: ajax not keeping variable up to date Programming Web Development by pixelsoul I tested it in Chrome. I just re-tested in Firefox and saw some similar behavior that you described. If I scroll slowely it seems to work fine, but if I scroll quickly, then I start seeing the problem you described. Re: ajax not keeping variable up to date Programming Web Development by dwlamb Thanks for the input. At least I know it's not an anomoly that the performance is different in two browsers nor that My problem can not be replicated Re: ajax not keeping variable up to date Programming Web Development by pixelsoul I found an even more profound issue with it in IE 11 where many times the call was duplicated. I did a quick look around and think I have something that fixes that and possibly the issue with FF. $(document).ready(function() { var base_url = window.location.origin; var loading = false… Re: ajax not keeping variable up to date Programming Web Development by dwlamb Two thumbs up @ pixelsoul Thank you for this bit of redirection on my work. It solved the problem perfectly and now all 415 records (and growing) load as they should.