ok
$action = $_POST["action"] or $action="";
$nom = $_POST["nom"];
$contenu = $_POST["contenu"];
$chemin[4] = preg_replace("[^0-9]","",$chemin[4]);
if (!$axx) {die("Not logged") ; }
if ($axx < 5) { die("Non autorise"); }
if ($chemin[5] == "topicdel" and $action == "Supprimer")
{
$query2 = "DELETE FROM forum_$chemin[2] WHERE topic_id='$chemin[3]'";
$result2 = mysql_query($query2) or die("$query2
".mysql_error());
echo "
Topic Supprime avec Succes
"; } else { echo " "; } ?>