Closed bionhan closed 9 years ago
You have to transform $result in an array before pass it to renderJSON. Perhaps try : pg-fetch-all ? http://php.net/manual/fr/function.pg-fetch-all.php Like this :
$grid->renderJSON(pg_fetch_all($result)) ;
Thanks a lot for your quick answer ! It worked :)
editablegrid with mssql 2000 help me please.
I don't know mssql. Perhaps you should read the doc : http://php.net/manual/fr/book.mssql.php
Thanks a lot for this great work.
I would like to use editablegrid with PostGreSQL so I've begun to change the "loaddata.php" file :
But it doesn't work... Is it because "$result" has to be a mysqli result ?
Best regards,
Nhan