Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Warning: mysqli_error() expects exactly 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()); 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #expects
ADD COMMENT
Topic
Name
3+3 =