In my php script,
$names = $_GET['part'];
$result = mysql_query("SELECT * FROM namestable where names LIKE'%$names%' LIMIT 10");
while ($row = mysql_fetch_assoc($result)) {
$colors[]=$row['publishers'];
}
checks for matches and works well.
But suppose my table has a name Alfred, the suggestion will appear only if i type Alfr
and not appearing if i type alfr