Hi all,
i have a problem with selectOptionsConnector.
If i use MySQL connection the following code runs perfectly but if i use MySQLi i get an Internal Server Error (500). What is my problem? Can anybody explain it pls.?
Both ways are in the Code below.
The logFile shows only Date and Time and no more informations
<?php
require_once("../connector/options_connector.php");
//$res=mysql_connect("DBHOST","DBUSER","DBPASS");
//mysql_select_db("DBdatabase");
//$data = new SelectOptionsConnector($res, "MySQL");
$res = new mysqli('DBHOST','DBUSER','DBPASS','DBdatabase');
$data = new SelectOptionsConnector($res, "MySQLi");
$data->enable_log('log.txt');
$data->render_table("ac","acId","clientId, acDescription");
?>
Thanks in advance.
Kind regards,
Bjoern