Im trying to create a autocomplete but when Im typing a surname in the textfield, it doesnt show the full name. JAVASCRIPT\[code\] $(document).ready(function(){ $("#txtBuscar").autocomplete("autocomplete.php", { selectFirst: true }); });\[/code\]PHP\[code\] require('conecta.php');ini_set('display_errors',1); error_reporting(E_ALL);$cSQL="SELECT NOMBRE, APELLIDOS FROM personas WHERE APELLIDOS LIKE '%?%' ORDER BY APELLIDOS";$stmt=$oConni->prepare($cSQL) or die($oConni->error); $stmt->bind_param('s',$_GET['q']); $stmt->execute(); $stmt->bind_result($nombre,$apellidos); while ($stmt->fetch()) { echo $apellidos.', '.$nombre."\n"; } $stmt->close();\[/code\]