[eluser]heylarson[/eluser]
Figured it out thanks to another post. Realized that doing my associative array like so gets me the desired results:
Code:
foreach($query->result() as $row)
{
$events[ltrim(substr($row->start_date, 8, 2), "0")] = '<a >id.'">'.$row->title.'</a>';
}
For whatever reason this forum is omitting pieces of my code, but you get the idea.