$result = mysqli_query("query") or die('Cannot get product. ' . mysqli_error());
$row = mysqli_fetch_assoc($result);
I'm making a simple bank app in php, the database connects but I get the following errors on a particular page
Warning: mysqli_query() expects at least 2 parameters, 1 given in /home/np9saef160p0/public_html/mybank/admin/account/detail.php on line 19
Warning: mysqli_error() expects exactly 1 parameter, 0 given in /home/np9saef160p0/public_html/mybank/admin/account/detail.php on line 19 Cannot get product.