Welcome Guest, Not a member yet? Register   Sign In
Calendar HELP!
#2

[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.


Messages In This Thread
Calendar HELP! - by El Forum - 08-09-2010, 12:09 AM
Calendar HELP! - by El Forum - 08-10-2010, 11:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB