I get the following error
Warning: mysqli_error() expects exactly 1 parameter, 0 given
The problem is with this line of the c
mysqli_error function requires $myConnection as parameters, that's why you get the warning
mysqli_error
$myConnection