I am making a system in which at the time of entering the data, this error marks me.
Error: Warning: mysqli_query () expects at least 2 parameters, 1 given in
<?php
require("connect_db.php");
if (isset($_POST['descripcion']) && !empty($_POST['descripcion'])) {
$descripcionTurno = $_POST['descripcion'];
mysqli_query("INSERT INTO ctg_turno (descripcion) values ('$descripcionTurno'");
echo '<script>alert("Datos Ingresados Correctamente")</script> ';
}