you could use something like this
$query = "SELECT * FROM table_name WHERE searched_column LIKE '%$search_keyword%'";
$result = mysql_query($query);
I thnk that ahs been done right, something along those lines anyway, look it up on www.mysql.com
hope that helps!!!