Search in a Dropdown Select HTML

Hi,

Just heard about Select2 and the plug in for dropdown menu search. Am trying to implement it into my HTML dropdown but not having any luck following the installation and trouble shooting. My code below. Thanks in advance for any help.

 <?php
 //Select Cabinets from DB

include “limitersconnect.php”;

$sql = “SELECT cabinetname FROM cabinets ORDER BY cabinetname ASC;”;
$result = (mysqli_query($link, $sql));

$sql2 = “SELECT ampname FROM amps ORDER BY ampname ASC;”;
$result2 = (mysqli_query($link, $sql2));

$sql6 = “SELECT ampname FROM amps ORDER BY ampname ASC;”;
$result6 = (mysqli_query($link, $sql6));

$sql7 = “SELECT ampname FROM amps ORDER BY ampname ASC;”;
$result7 = (mysqli_query($link, $sql7));

?>

Limiter Value Search

Select a Cabinet and the amplifier to drive each of the ways inside that cabinet

<?php $cabselected = $_GET['cabinets']; while($row = mysqli_fetch_assoc($result)) { echo "" . $row['cabinetname'] . ""; } echo ""; ?>