I believe I need the data_connector.php file in order to collect data from a database and put in in a datastore from the server side within a Connector as described at docs.dhtmlx.com/doku.php?id=dhtm … ntegration
I can not find the data_connector.php file in my standard suite download.
Where do I FInd the file?
More info in case it helps
Here is the code being used:
<?php
require_once("Codebase/Connector_PHP/data_connector.php");
$res=mysql_connect("localhost","root","pswd#");
mysql_select_db("Timecards");
$data = new DataConnector($db,"SQLite");
$data->render_table("members","idMembers","FirstName,LastName,UserName,Password");
?>
Here are the errors received:
Warning: require_once(Codebase/Connector_PHP/data_connector.php) [function.require-once]: failed to open stream: No such file or directory in D:\Inetpub\wwwroot\DomainName\www2\ConnectorGetMembersForDataStore.php on line 2
Fatal error: require_once() [function.require]: Failed opening required ‘Codebase/Connector_PHP/data_connector.php’ (include_path=’.;C:\php5\pear’) in D:\Inetpub\wwwroot\DomainName\www2\ConnectorGetMembersForDataStore.php on line 2
I can not find the file in my my original download and it is obviously not on my server.
Try to use connectors 1.1, which can be downloaded by the next link
dhtmlx.com/x/download/regula … hp_dvl.zip
Thanks! I have downloaded that and will begin working with that now.