dhtmlx scheduler and multiple resources

I have implemented multiple resources using a mysql database and php; however, after reloading website all the resourse under a different person default to the first value or key., rather than being preserved where they are placed. Any help you can give would be appreciated; The followig is my code:



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>



    

    



    

    





    



    html, body{

        margin:0px;

        padding:0px;

        height:100%;

        overflow:hidden;

    }    











    



        


            
 


            
 


            


            


            


            


            




        


        


        


        


        
        

    


The client side code looks correct and must not produce any problems. Which code you are using in events.php , is it have modification to save section_id value to some field in DB?


The following is my events.php code.  I am unsure as to how to revise it.  Thanks,


   -Mahesh


 


<?php


include ('../../../codebase/connector/scheduler_connector.php');


include ('../../common/config.php');


$res=mysql_connect($server, $user, $pass);



mysql_select_db($db_name);


$scheduler = new schedulerConnector($res);



//$scheduler->enable_log(“log.txt”,true);



$scheduler->render_table(“events”,“event_id”,“start_date,end_date,event_name,details”);



?>


You did load section_id data from the server at all. Please check the server-side:


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


and more over should add beforeProcessing event handler that will save section_id .

I got it to work.  Thanks!