Ragazzi ho questa classe per il motore di ricerca, e funziona quando devo fare la ricerca, ma se nn ci sono risultati mi da un errore


codice:
Notice: Undefined variable: esult in C:\xampp\htdocs\esempi\searchengine-2013-08-06\process.php on line 24
corrispondente a :
codice:
$process = @mysql_query($sql);
lo script:

codice:
<?php

require_once 'class.search.php';


$config = array('localhost','root','','motorericerca');
$table = 'bizmain';
$key = 'biz_id';
$fields = array('biz_name','biz_address','biz_cat');


$keyword = $_POST['keyword'];


$found = new search_engine($config);
$found->set_table($table);
$found->set_primarykey($key);
$found->set_keyword($keyword);
$found->set_fields($fields);


$result = $found->set_result();
//print_r($result);


// Display the results
$data = join( ",", $result);
$sql = "SELECT * FROM bizmain WHERE biz_id IN ($data) ";
$process = @mysql_query($sql);
echo "<br><pre><table border=1>";


while ($row = mysql_fetch_object($process))
{
    echo "<tr>";
    echo "<td>".$row->biz_id."</td>";
    echo "<td>".$row->biz_name."</td>";
    echo "</tr>";
}
echo "</table>"


?>
Come posso risolvere ?