dhtmlForm & PHP 7

Since mysql_connect is deprecated in PHP 7 I can’t make it work with mysqli, do you have any workaround ?

dhtmlxForm is not related directly with the server-side.
Could you please, clarify where you exactly have a problem.

Thanks for your response, let me use a couple of samples:

I have this grid code using mysqli working fine:

<?php require("../dhtmlx46/codebase/grid_connector.php"); require("../dhtmlx46/codebase/db_mysqli.php"); $mysqli = new mysqli('localhost', 'root', 'drowssap1000', 'sampleDB'); $gridConn = new GridConnector($mysqli,"MySQLi"); $gridConn->render_table("student","id","school_id,name,lastname,birthdate"); ?>

But when I try to use a form connector & msqli doesn`t work, like this and I get the following error messages. I’ve seen form samples but they all use mysql extension, but in PHP 7 I can only use mysqli extension, I’ve tried with several versions but I can’t get it to work.

<?php require("../dhtmlx46/codebase/form_connector.php"); require("../dhtmlx46/codebase/db_mysqli.php"); $mysqli = new mysqli('localhost', 'root', 'drowssap1000', 'sampleDB'); $formConn = new FormConnector($mysqli,"MySQLi"); $formConn->render_table("student","id","school_id,name,lastname,birthdate"); ?>

PHP Notice: Undefined index: ids in /var/www/html/dhtmlx46/codebase/form_connector.php on line 56
PHP Fatal error: Uncaught Exception: ID parameter is missed in /var/www/html/dhtmlx46/codebase/form_connector.php:57
Stack trace:
#0 /var/www/html/dhtmlx46/codebase/base_connector.php(467): FormConnector->parse_request()
#1 /var/www/html/dhtmlx46/codebase/base_connector.php(398): Connector->render()
#2 /var/www/html/college/form_connector.php(9): Connector->render_table(‘student’, ‘id’, ‘school_id,name,…’)
#3 {main}
thrown in /var/www/html/dhtmlx46/codebase/form_connector.php on line 57

Sorry, my mistake I tested from my web page sending the id and It worked just fine.

Thank you