\

Functions

query()

query(  $sql) : boolean|\mysqli_result

Executes the query

Parameters

$sql

SQL Query to execute

Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\phpDocumentor-2.9.0\vendor\twig\twig\lib\Twig\Extension\Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\phpDocumentor-2.9.0\vendor\twig\twig\lib\Twig\Extension\Core.php on line 1293

Returns

boolean|\mysqli_result —

result

resultToJSON()

resultToJSON(  $lineresult) : string

Fetches a mysql result and converts it into json

Parameters

$lineresult

mysql result

Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\phpDocumentor-2.9.0\vendor\twig\twig\lib\Twig\Extension\Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\phpDocumentor-2.9.0\vendor\twig\twig\lib\Twig\Extension\Core.php on line 1293

Returns

string —

mysql result as json

Utf8_ansi()

Utf8_ansi(string  $value = '') : string

Converts coded umlauts into correct char

Parameters

string $value

coded umlaut

Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\phpDocumentor-2.9.0\vendor\twig\twig\lib\Twig\Extension\Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\phpDocumentor-2.9.0\vendor\twig\twig\lib\Twig\Extension\Core.php on line 1293

Returns

string —

correct char