Not able to retreive / save events on my database

Hi guys
I am findiing it hard to display events saved on my database or saving them using the scheduler. I have been reading several topics in this forum, but could not make it to work. I am posting my code to see if anyone can help me . Thanks in advance.

<?php session_start(); include("header.php"); ?> turnos
    <script src="../dhtmlxScheduler_v4.4.0/codebase/dhtmlxscheduler.js" type="text/javascript"></script>
    <link rel="stylesheet" href="../dhtmlxScheduler_v4.4.0/codebase/dhtmlxscheduler.css" type="text/css">
    <style type="text/css" media="screen">
    html, body{
        margin:0px;
        padding:0px;
        height:100%;
        overflow:displayed;
    }
    </style>
    <script type="text/javascript" charset="utf-8">
    function init()
    {
        scheduler.config.xml_date="%Y-%m-%d %H:%i:%s";
        //scheduler.config.readonly = true;
        scheduler.init('scheduler_here', new Date(),"month");
        scheduler.load("../dhtmlxScheduler_v4.4.0/codebase/connector/data_connector.php");
        var dp = new dataProcessor("../dhtmlxScheduler_v4.4.0/codebase/connector/data_connector.php");
        dp.init(scheduler);
    }
    </script>
</head>

<script src="../dhtmlxScheduler_v4.4.0/codebase/sources/locale/locale_es.js" charset="utf-8"></script>
<div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'>

    <div class="dhx_cal_navline">
        <div class="dhx_cal_prev_button">&nbsp;</div>
        <div class="dhx_cal_next_button">&nbsp;</div>
        <div class="dhx_cal_today_button"></div>
        <div class="dhx_cal_date"></div>
        <div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
        <div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
        <div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
    </div>
    <div class="dhx_cal_header"></div>
    <div class="dhx_cal_data"></div>
</div>
<?php require_once("../dhtmlScheduler_v4.4.0/codebase/connector/scheduler_connector.php");

$res=mysql_connect(“localhost”,“root”,“root”);
mysql_select_db(“test”);

$conn = new SchedulerConnector($res);

$conn->enable_log(“path”);

$conn->render_table(“events”,“id”,“start_date,end_date,text”);

Anyone ?? :slight_smile: