I was really hoping to avoid posting a new question, but I cannot find a functioning example of the jQuery Autocomplete Remote feature that includes both the calling page an
I did the php like & it was successful, I was using mysqli method.
$q = strtolower($_GET["term"]);
$return = array();
$query = "select name from students where name like '%$q%'";
$result=$conn->query($query);
while ($cresult=$result->fetch_row()){array_push($return,array('label'=>$cresult[0],'value'=>$cresult[0]));
}
echo(json_encode($return));
?>