I get the following error
Warning: mysqli_error() expects exactly 1 parameter, 0 given
The problem is with this line of the c
Change
die (mysqli_error());
to
die('Error: ' . mysqli_error($myConnection));
in the query
$query = mysqli_query($myConnection, $sqlCommand) or die (mysqli_error());