PHP: mysqli::prepare – Manual
Unfortunately, the use "/* bind result variables */ $stmt->bind_result($district);" is obsolete and condemned.$mysqli = new mysqli("localhost", "test", "test", "test");if ($mysqli->character_set_name()!="utf8mb4") { $mysqli->set_charset("utf8mb4"); }$secondname = "Ma%";$types = "s";$parameters = array($secondname);$myquery =…