[Solved] Codeigniter Query Misses First One Off List |
(12-29-2015, 08:45 AM)mwhitney Wrote: I don't see exactly where the problem occurs, but you should consider using a join to retrieve the results in a single query, rather than making an additional query for each result of the first query. Regardless of whether it makes it easier to generate the output, it will speed things up, especially when you have more events in the database. I have solved it here are the changes I have had to make Code: public function get_calendar_events($year, $month) {
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
[Solved] Codeigniter Query Misses First One Off List - by wolfgang1983 - 12-28-2015, 10:04 PM
RE: Codeigniter Query Misses First One Off List - by mwhitney - 12-29-2015, 08:45 AM
RE: Codeigniter Query Misses First One Off List - by wolfgang1983 - 12-29-2015, 01:42 PM
RE: Codeigniter Query Misses First One Off List - by wolfgang1983 - 12-30-2015, 02:33 AM
|