ho provato cosi:
Codice PHP:
$query mysql_query("
     SELECT id
     FROM ricerche
     WHERE chiave='"
.$chiave."'");
     if(
mysql_num_rows($query) = 0) { "$sql = "insert into ricerche (idchiavevalues (NULL,\"$chiave\")";
$risultato = @mysql_query($sql$connessione)"
} else {
"
Non procedere" }

or die (mysql_errno() . "
" . mysql_error()); 
Ma mi da questo errore... e penso ri rifarisca all'uguale vicino allo 0
Parse error: parse error, unexpected '=' in cerca.php on line 7