While my script is not a standalone PHP script but rather an addon, with global active connection to database, how I can modify these commands to avoid asking for connection details from the end users?
By the way… That dynamic_loading has correct syntax???
When establishing your first connection, store the resource in your session, then in the connector, use the session-variable.
Something like that:
Your File, which connects for the first time to your DB:...
session_name("MY_SESSION_NAME");
session_start();
...
$_SESSION["DBConnection"] = mysql_connect("localhost",".....","......");
mysql_select_db("...........");
...
Your Connector-Script:
session_name("MY_SESSION_NAME");
session_start();
require("microclassifieds/includes/grid_connector.php");
$gridConn = new GridConnector($_SESSION["DBConnection"],"MySQL");
$grid->dynamic_loading([25,25]);
$grid->render_table("classifieds_items","id","logo,adtype,title,categoryid,newused,sellertype,starts,price,location");
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan