newbie question

I’m new to the scheduler and just started testing it out. I downloaded the sample events db and am able to view the appointments but can’t save them. Below is my schedule.html and connector.php code:

[code]

html, body{ margin:0px; padding:0px; height:100%; overflow:hidden; } .dhx_scale_hour{ line-height:normal; }
 
 
 
[/code]

[code]<?php
require_once("…/codebase/connector/scheduler_connector.php");

$res=mysql_connect(“localhost”,"…","…");
mysql_select_db(“data00”);

$conn = new SchedulerConnector($res,“MySQL”);
$conn->enable_log(“temp.log”);

$conn->render_table(“events”,“event_id”,“start_date,end_date,details”);
//$conn->render_table(“events”);
?>[/code]

Also, when i view the schedule and make an appt, it’s not saving but is still displayed on the scheduler until i refresh the page…where is that appt stored if it’s not on the database?

thanks

Hello,

$conn->enable_log(“temp.log”);
And what’s in the log?

Best regards,
Ilya

it was duplicate primary key issue…thanks