Pour le code php:
include("conf.php3" );
$query = "SELECT * from resultats WHERE date >= DATE_SUB(now(),INTERVAL 7 DAY)";
$result = mysql_query("$query",$connexion);
echo $result;
La structure de la table:
CREATE TABLE resultats (
id int(11) NOT NULL auto_increment,
championnat varchar(10) NOT NULL,
domicile varchar(255) NOT NULL,
points_dom smallint(3) DEFAULT '0' NOT NULL,
exterieur varchar(255) NOT NULL,
points_ext smallint(3) DEFAULT '0' NOT NULL,
date date DEFAULT '0000-00-00' NOT NULL,
pseudo varchar(255) NOT NULL,
PRIMARY KEY (id),
UNIQUE id (id),
KEY id_2 (id)
);