bonjour,

je créé une appli et pour ma page de connexion dont le code est celui ci :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
include "connexion.inc";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans titre</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #000000;
}
-->
</style>
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
-->
</style></head>
 
<body LINK="#FFFFFF" VLINK="#FFFFFF">
<table width="1024" border="0">
  <tr>
    <td align="center"><img src="images/baniere.jpg" longdesc="images/baniere.jpg" /></td>
  </tr>
</table>
<table width="1024" height="500" border="0">
  <tr>
    <td align="center" valign="middle" background="images/elfe_noir.jpg">
<form action="verif.php" method="post">		
		<table width="300" border="0">
  <tr>
    <td width="300" align="center"><font class="intitule">Login</font></td>
  </tr>
  <tr>
    <td width="300" height="28" align="center"><input name="login" type="text" size="15" maxlength="15" /></td>
  </tr>
  <tr>
    <td width="300" align="center"><font class="intitule">Password</font></td>
  </tr>
  <tr>
    <td width="300" align="center"><input name="pass" type="password" size="15" maxlength="15" /></td>
  </tr>
</table>
<br />
<table width="300" border="0">
  <tr>
    <td width="300" align="center"><input name="connexion" type="submit" value="Connexion" /></td>
</form>
  </tr>
</table>
 
<br /><table width="1024" border="0">
  <tr>
    <td align="center"><font class="lien"><a href="inscription.php">Enregistrer un nouveau joueur</a></font></td>
  </tr>
</table>
 
	</td>
  </tr>
</table>
</body>
 
</html>
j'envoi les verif grace au form dans cette page :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
<? 
include "connexion.inc"; 
 
$query = mysql_query("Select * From Joueur");
 
if ($_POST['login'] != login_joueur) && ($_POST['pass'] != pass_joueur){
	header("Location: connexion.php"); }
else {
	header("Location: accueil.php"); 
}
?>
mais mon navigateur me donne cette erreur :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
Parse error: parse error in c:\ngadd\verif.php on line 6
Pouvez vous m'aider s'il vous plait

merci