Welcome Guest, Not a member yet? Register   Sign In
Calender -> I just can not figure this out
#2

[eluser]danmontgomery[/eluser]
Code:
$data = array();
$query = $this->db->select('date, link')->get('my_table');
foreach($query->result() as $row)
{
  $data[$row->date] = $row->link;
}

echo $this->calendar->generate($year, $month, $data);


Messages In This Thread
Calender -> I just can not figure this out - by El Forum - 01-11-2010, 04:06 PM
Calender -> I just can not figure this out - by El Forum - 01-11-2010, 04:21 PM
Calender -> I just can not figure this out - by El Forum - 01-11-2010, 04:23 PM
Calender -> I just can not figure this out - by El Forum - 01-11-2010, 06:18 PM
Calender -> I just can not figure this out - by El Forum - 08-18-2010, 03:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB