Problem with unit_view updating mysql

I am probably missing something simple here, but I recently began working with dhtmlxScheduler with the goal of creating a multiple resource scheduling application with mysql backend. I built the tables in mysql from dump_events.sql and implemented the following code on my page:

[code][/code]
(get_schedule.php is really event.php. I just renamed it for my own convenience)
It seems to be working EXCEPT all new or updated entries get added to Resource1. Whether I double-click to create a new entry, or Drag and Drop and entry to a different resource, when I refresh the page all entries appear under Resource1.
What am I missing?

Thanks in advance for the help.
Matt

You need to add “section_id” field to the table in database, and in “get_schedule.php” change render_table as

$scheduler->render_table("events","event_id","start_date,end_date,event_name,details,section_id");

It will be enough to enable loading and saving section_id values.