I am having problems with autocomplete. All the suggestions are coming out as one line. Eg ANOTHERTESTTEST instead of ANOTHER TEST the Test underneath.
This is in company.php to get the selection
if (trim($Msg) == "") {
$term = StrippedChars($_GET['term']);
$sqlstring = "SELECT * FROM companies where name like '%" . $term . "%'";
if (!($result = @ mysqli_query($connection, $sqlstring))) {
$Msg = "An error has occured when selecting the records from the Database";