Hi folks
I’m just starting working with DHTMLX from a friend advice.
My first try is to have a simple grid linked with a MySQL database.
I had setup a grid that displays a table content successfully.
But now, as soon as I try either to:
- modify a cell content
- use the “add” button to add a new line
I am getting a “Load XML error” with “Incorrect XML” information, and no update in my database.
Here are my script and data connector contents:
[code] [/code]
AdherentConnector.php Data connector :
[code]<?php
// gestion de la base de données
require_once(“./config.php”);
require_once (“…/js/dhtmlxConnector_php/codebase/grid_connector.php”);
$res=mysql_connect($mysql_server,$mysql_user,$mysql_pass);
mysql_select_db($mysql_db);
// définition de la connection
$gridConn = new GridConnector($res,"MySQL");
$gridConn->enable_log("../log/CategorieConnector.log");
$gridConn->dynamic_loading(400);
// mise en place du connecteur
$gridConn->render_table("adherent", "id_adherent", "Nom,Prenom");
// deconnection
mysql_close($res);
?>[/code]
Behavior can be tested here : ks369381.kimsufi.com/hebergement … rents.html
Could you please give me a hand in order to solve my problem ?
Regards
Matt