salut g fais deux tableaux sur wamp et voila son code :

et

et g fais cle primaire pour information.num_etd
et cle primaire pour notes.num_ note et cle secondaire pour notes.num_etd
et je veux afficher si un etudiant met le login et password correct il affiche ses information ainsi que ses module et matiere et note et g fais cette requet mais ne marche pas :
<?php
session_start();
$_SESSION['numetd']= mysql_query('select num_etd from information where information.login="'.$_SESSION['login'].'" and information.password="'.$_SESSION['passw'].'"');
$_SESSION['num'] = mysql_fetch_row ($_SESSION['numetd']);
$_SESSION['result'] = mysql_query('SELECT information.nom,information.prenom,notes.module,notes.matiere,notes.note FROM information,notes Where information.num_etd = "'. $_SESSION['num'].'"') OR die('Erreur de la requête MySQL');
while($_SESSION['resultat'] = mysql_fetch_array($_SESSION['result'], MYSQL_ASSOC))
{
echo '<p>Nom : '.$_SESSION['resultat']['nom'],'<br>'.' Prenom : '.$_SESSION['resultat']['prenom'],'<br>'.'Matiere : '.$_SESSION['resultat']['matiere'],'<br>'.'Note : '.$_SESSION['resultat']['note'].'</p>';
}
session_destroy();
?>
et voila l'exemple du mes tablaux :

et

SVP AIDE MOI