This question is locked. New answers and comments are not allowed.
                        
                        Hi I use the following code to connect my grid to my db but I don't get any result.
Can anyone help?
<?phprequire_once '../lib/DataSourceResult.php';require_once '../lib/Kendo/Autoload.php';$request = json_decode(file_get_contents('php://input'));header('Content-Type: application/json');$result = new DataSourceResult('mysql:host=localhost;dbname=kendo', 'cc_user_ws', 'test1234');$columns = array('ProductID', 'ProductName', 'UnitPrice', 'UnitsInStock', 'Discontinued');$result = $result->read('Products', $columns, $request);echo json_encode($result);?>
Result of the page is : 
{"total":0,"data":[]}
