saving . . . saved SQL error function has been deleted. SQL error function has been hidden .
SQL error function
Title
Question
when running the function mysqli_error()  giving error of argument when using with die function 

PHP-and-MySQL MySQL-Part-2 05-06 min 10-20 sec 19-05-21, 9:41 p.m. payalsaraljain

Answers:

Dear User,

mysqli_error() function needs you to pass the connection to the database as a parameter.
Change
    die(mysqli_error());
to
    die(mysqli_error($connect));
05-01-22, 4:26 p.m. hbammkanti


Log-in to answer to this question.