\

Functions

query()

query(  $sql) : boolean|\mysqli_result

Executes the query

Parameters

$sql

SQL Query to execute

Returns

boolean|\mysqli_result —

result

resultToJSON()

resultToJSON(  $lineresult) : string

Fetches a mysql result and converts it into json

Parameters

$lineresult

mysql result

Returns

string —

mysql result as json

Utf8_ansi()

Utf8_ansi(string  $value = '') : string

Converts coded umlauts into correct char

Parameters

string $value

coded umlaut

Returns

string —

correct char