Hi,
after testing xlm files, i wanted to test php connector for my grid to be filled with data from my mysql database. However, i followed the steps of the video but my grid is still empty…
the tree of my project folder is :
my html page is :
test grid<link rel="STYLESHEET" type="text/css" href="codebase/dhtmlx.css">
<script src="codebase/dhtmlx.js" type="text/javascript"></script>
<link rel="STYLESHEET" type="text/css" href="codebase/dhtmlxgrid.css"></link>
<link rel="STYLESHEET" type="text/css" href="codebase/skins/dhtmlxgrid_dhx_skyblue.css"></link>
<script src="codebase/dhtmlxcommon.js"></script>
<script src="codebase/dhtmlxgrid.js"></script>
<script src="codebase/dhtmlxgridcell.js"></script>
<script src="codebase/ext/dhtmlxgrid_filter.js"></script>
<script src="dhtmlxConnector_php/codebase/connector.js"></script>
and finally my php connector file is :
<?php require_once("php/config.php"); $res=mysql_connect($mysql_server,$mysql_user,$mysql_pass); mysql_select_db($mysql_db); require("dhtmlxConnector_php/codebase/grid_connector.php"); $grid = new GridConnector($res,"MySQL"); $grid->render_table("fournisseur","fournisseur_id","personne_physique,raison_sociale"); ?>Anyone could help because i can’t see where it comes from ?
Thanks