WARNUNG: Mysqli_Error () erwartet genau 1 Parameter, 0

Change

die (mysqli_error()); 
to

die('Error: ' . mysqli_error($myConnection));
in the query

$query = mysqli_query($myConnection, $sqlCommand) or die (mysqli_error()); 
Ankur