I have an issue where I can read data from a MYSQL DB but writing data back isn’t working. Is anyone able to shed some light on why?
Here is my code in the data.php file:
include (‘codebase/connector/gantt_connector.php’);
$dbtype = “PDO”;
$res = new PDO(“mysql:host=localhost;dbname=gantt”, “root”, “************”);
$gantt = new JSONGanttConnector($res,$dbtype);
$gantt->render_links(“gantt_links”,“id”,“source,target,type”,“”);
$gantt->render_table(“gantt_tasks”);
and here is the table layout:
CREATE TABLE gantt_tasks ( id int(11) NOT NULL AUTO_INCREMENT, start_date datetime NOT NULL, duration int(11) NOT NULL DEFAULT 0, progress float NOT NULL DEFAULT 0, parent int(11) NOT NULL, user int(11) NOT NULL, open BOOLEAN DEFAULT NULL, text varchar(255) NOT NULL,
PRIMARY KEY (id)
);
Your provided link requires the authentication.
Could you please, open ticket at support.dhtmlx.com and provide a required info to reconstruct the problem