whait, going to post all the things...
delete.php
<?php
include ("db.php");
mysql_query("DELETE FROM club WHERE CONTRA=". $_REQUEST["contra"] .";" ,$db);
if (mysql_errno()!=0)
{
echo "Error al dessuscribirse, comuniquese con nosotros : ". mysql_errno() . " - " . mysql_error();
mysql_close($db);
} else {
header("location:index.html");
}
?>
and the db.php
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_db = "*****";
$database_db = "clubd";
$username_db = "*****";
$password_dbs = "*****";
$friendss = mysql_pconnect($hostname_db, $username_db, $password_db) or trigger_error(mysql_error(),E_USER_ERROR);
?>
clubd is the bd and club is a table
pd: idk much of php, xD i made all of this with some tutorials on youtube, and the bd.php the dreamweaver do it