<?php session_start(); $prov = $_POST['']; $mysql_link = mysql_connect("localhost", "root", ""); mysql_select_db("idsr") or die("Could not select database"); require "combo_connector.php"; $combo = new ComboConnector($mysql_link); $combo->enable_log("temp.log"); $combo->render_sql("SELECT ID,name FROM districts ", "ID", "name");
<?php require_once "../codebase/dhtmlx/combo_connector.php"; require_once 'config.php'; $data = new ComboConnector($conn); $data->enable_log("log.txt", true); $data->render_sql("SELECT DISTINCT `supplier_name` FROM `suppliers` ", "supplier_name", "supplier_name");