Código PHP:
Ver original<?php
include('config.php');
$SQL_FROM = 'peliculas';
$SQL_WHERE = 'Director';
$getRecord_sql = "SELECT Director FROM ".$SQL_FROM." WHERE ".$SQL_WHERE Director = LIKE '%$searchq%'";
$getRecord = mysql_query($getRecord_sql);
if(strlen($searchq)>0){
echo '<ul>';
while ($row = mysql_fetch_array($getRecord)) {
echo '<li><a href="#">';
echo $row['Director'];
echo "</a></li>";
}
echo '</ul>';
}
?>