Display data from Database ( Tried many things, Sorry)

Hi!!
So, recently im trying to connect ,my scheduler to my mysql database, i’ve tried some examples from the forums and it keeps giving me and error like:
" no route found get->connector.php"
Can someone help?

This is how i initiate the scheduler:

    scheduler.init('scheduler_here', new Date(2019, 0,10), "timeline");
    scheduler.load("connector.php");
    var dp =dataProcessor("connector.php");
    dp.init(scheduler);

And this is my connector.php:

<?php
	require("scheduler/connector/scheduler_connector.php");
	require("scheduler/connector/db_mysqli.php");
	$conn = new mysqli("127.0.0.1", "root", "importantStuff123", "events");
	
	$scheduler = new SchedulerConnector($conn, "MySQLi");
       $scheduler->render_table("events","id","start_date,end_date,text");
?>

Hello @Francisco_Pinto

Please try to follow the steps from this guide to check that everything was done correctly
https://docs.dhtmlx.com/scheduler/howtostart_connector.html

Also, please replace
var dp = dataProcessor("connector.php");
to
var dp = new dataProcessor("connector.php");

1 Like