You have to do the form and also connect to db before this code.
$result = mysql_query ("SELECT * FROM tablename WHERE column LIKE '%$term%'");
$count = mysql_num_rows($result);
if($count == 0)
{
echo "Nothing found";
}
while($data=mysql_fetch_array($result))
{
$column=$data["column"];
echo $column;
echo "<br>";
}