Sn un po' inesperto con questo linguaggio, e nonostante ciò credo ke la domanda sia molto banale...
Comunque io nn riesco ad aggiungerlo al mio form di ricerca.
Se volete sapere questo è un file php ,dove viene rappresentato un motore di ricerca ke interroga il database. .....
Grazie in Anticipo.
<?php
require_once 'class.search.php';
$config = array('localhost','root','','database');
$table = 'bizmain';
$key = 'biz_id';
$fields = array('biz_name','biz_address','biz_cat');
$keyword = $_POST['keyword'].' '.$_POST['location'];
$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 "
<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>"
?>