This is what I have currently (which doesn't do anything)
<input type="text" id="search" " placeholder="Search..">
<table id='table'>
<!-- INVENTORY TABLE -->
<?php
$query = "SELECT * FROM StatesboroSwitchActive";
$result = mysqli_query($db, $query);
$count = 0;
echo "
<tr>
<th></th>
<th></th>
<th>Name</th>
<th>Model</th>
<th>Serial</th>
<th>MAC</th>
<th>Type</th>
<th>Notes</th>
<th>Cisco Notes</th>
<th>Location</th>
</tr>";
while ($row = mysqli_fetch_array($result)) {
$count++;
echo "<tr><td>" . "<button id='delete'>RMA</button>" .
"</td><td>" . "<button id='modify'>Modify</button>" .
"</td><td>" . $row['Name'] .
"</td><td>" . $row['Model'] .
"</td><td>" . $row['Serial'] .
"</td><td>" . $row['MAC'] .
"</td><td>" . $row['Type'] .
"</td><td>" . $row['Notes'] .
"</td><td>" . $row['Cisco Notes'] .
"</td><td>" . $row['Location'] . "</td></tr>";
}
echo "<h3>Total: " . $count . "</h3>";
?>
I want to be able to use the search box to make this table filter down into what is typed by the user. I am pretty lost right now