I'm getting this error and i can't fix it. Could someone be very kind and explain to me what it means? Also, how I can fix it? I've tried researching into it however I don't understand it. The code is trying to get the value of multiple html inputs/select tags and use as an sql query.
$db = new mysqli("host", "username", "password", "dbname");
$input = $_GET['input'];
$topic = $_GET['topic'];
$location = $_GET['location']; inserted into the query
$combined = $input . $topic . $location;
$terms = explode(" ", $combined);
$stmt = $db->prepare('SELECT * FROM search WHERE `input` = ? AND `topic` = ? AND `location` = ?');
$stmt->bind_param("sss", $input, $topic, $location);
$stmt->execute();
$stmt->close();