Closed Hector-Aguilar-STD closed 5 years ago
I took these code here, step 8: https://docs.dhtmlx.com/scheduler/howtostart_connector.html
I tried with PDO and looks like it works.
$res= new PDO('mysql:dbname=schema;host=xxx.xxx.xxx.xxx','user','password');
Hi everyone,
I'm just trying to use that code and reproduce an example connecting with my database. My code for connect:
`include ('library/codebase/scheduler_connector.php');
$res=mysql_connect('xxx.xxx.xxx.xxx:xxxx','user','password'); mysql_select_db("schema");
$calendar = new SchedulerConnector($res); $calendar->render_table("scheduler","id","start_date,end_date,text","type");`