0){ $team1=mysql_result($dbmatch,0,0); $tid1=mysql_result($dbmatch,0,2); $img1=mysql_result($dbmatch,0,1); $team2=mysql_result($dbmatch2,0,0); $img2=mysql_result($dbmatch2,0,1); $tid2=mysql_result($dbmatch2,0,2); $dbresultat=mysql_query("select score1,score2 from nuke_league_schedule where id= $schid"); list($score1,$score2)=mysql_fetch_row($dbresultat); $stats1=mysql_query("select period1, period2,period3, period4,period5,period6, period8,period9, period7, tid,period11,period12 from nuke_league_schedule_summary where schid=$schid and tid=$tid1 order by id ASC limit 1"); $stats2=mysql_query("select period1, period2,period3, period4,period5,period6, period8,period9, period7, tid,period11,period12 from nuke_league_schedule_summary where schid=$schid and tid=$tid2 order by id DESC limit 1"); while(list($scorem1,$tirs1,$tirsc1,$poss1,$cj1,$cr1,$passe1,$tir1,$fautes1,$teamid1,$tab1,$rapport1)=mysql_fetch_row($stats1)AND list($scorem2,$tirs2,$tirsc2,$poss2,$cj2,$cr2,$passe2,$tir2,$fautes2,$teamid2,$tab2,$rapport2)=mysql_fetch_row($stats2)){ $rapport2=utf8_decode($rapport2); echo "
enregistrer le résultat de votre match

$team1
SCORE FINAL
SCORE mi-temps
TIRS
Tirs cadrés
POSSESSION
FAUTES
CARTONS JAUNES
CARTONS ROUGES
% PASSES
% TIRS
SCORE TIRS AU BUT

$team2
"; } }else{ echo "Le compte rendu de ce Match n'existe pas"; } ?>