Here the first page index.php <! DOCTYPE html > < html > < head > < title > Autocomplete Select Option from MySQL Database </ title > < script src = "https://code.jquery.com/jquery-3.6.0.min.js" ></ script > </ head > < body > < h2 > Autocomplete Select Option from MySQL Database </ h2 > < form > < label for = "autocomplete" > Search: </ label > < div style = " display: flex; flex-direction:column" > < input type = "text" id = "autocomplete" name = "autocomplete" > < select id = "selectOption" style = " display:none;" size = "15" style = " width:fit-content" ></ select > </ div > </ form > < script > ...