connect_error) { die("Connection failed: " . $conn->connect_error); } $sql = "SELECT * FROM Login"; $result = $conn->query($sql); if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { echo "id: " . $row["idLogin"]. " - Name: " . $row["vUsuario"]. "
"; } } else { echo "0 results"; } $conn->close(); ?> jQuery UI Selectmenu - Default functionality