nessun problema, te lo posto:

Codice PHP:
<?
include ("config.inc.php");
include (
"top_foot.inc.php");

//intestazione
top();

$chiave $_POST['chiave'];

$db mysql_connect($db_host$db_user$db_password)
or die(
"Connessione non riuscita: " mysql_error());

$select mysql_select_db($db_name$db)
or die (
"Errore nella selezione del database. Verificare i parametri nel file config.inc.php");

$keys explode (" "$chiave);

$query "";
reset ($keys);
foreach(
$keys as $parola){ 
$parola trim($parola);
if (
$parola != "")
$query .= "titolo LIKE '%$parola%' OR testo LIKE '%$parola%' OR autore LIKE '%$parola%' OR ";
}
$query .= "0";

$query "SELECT id, titolo, data FROM news WHERE " $query;

$result mysql_query($query$db);
while (
$row mysql_fetch_array($result))
{ echo 
"<a href=\"view.php?id=$row[id]\">" date("d/m/Y"$row[data]) . " - $row[titolo]</a>
"
; }

mysql_close($db);

foot();
?>
forse tu non mettevi $_POST['chiave'] ?


il search è un semplice form con action="result.php"...