I'm new with PHP and I'm trying to solve this problem but I don't know how.
<?php
session_start();
require "../config.php";
$retvaloff = mysqli_query($con);
session_destroy();
header("Location: index.php");
?>
PHP Warning: mysqli_query() expects at least 2 parameters, 1 given in logout.php on line 4
As it says, there is only 1 parameter and it must be 2. Which parameter could I add to mysqli_query
?
Thanks!