Codice PHP:$query = mysql_query("
SELECT id
FROM ricerche
WHERE chiave='".$chiave."'");
if(mysql_num_rows($query) = 0) { "procedi con l'inserimento"
} else {
"Non procedere" }
Codice PHP:$query = mysql_query("
SELECT id
FROM ricerche
WHERE chiave='".$chiave."'");
if(mysql_num_rows($query) = 0) { "procedi con l'inserimento"
} else {
"Non procedere" }