Retrieving multiple events on the same day - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Retrieving multiple events on the same day (/showthread.php?tid=36978) |
Retrieving multiple events on the same day - El Forum - 12-22-2010 [eluser]Unknown[/eluser] Hi all, Im having difficulty with retrieving multiple events on the same day. I modified the Calendar Class as told on: http://ellislab.com/forums/viewthread/119477 The array i need to return must look like this: Code: array( This is my model function: Code: function get_calendar_data($year, $month) { This is my db structure: calendar ----------------------------------- calendar_id int(11) calendar_date date calendar_data text calendar_activiteiten_id int(11) ----------------------------------- activiteiten ----------------------------------- activiteiten_id int(11) activiteiten_naam varchar(255) ----------------------------------- Could someone please tell me what i should do ? Thanks in advance ! Retrieving multiple events on the same day - El Forum - 02-11-2011 [eluser]Unknown[/eluser] Hey I am trying to do the same thing? Did you ever accomplish your goal? |