Bonjour
J'ai un soucis dans mon code :

Parse error: parse error, expecting `T_CONSTANT_ENCAPSED_STRING' or `'('' in C:\wamp\www\WIPinterface\INSERT3.php on line 8


Mais pas moyen de trouver le probleme (je debute faut m'excuser...):

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
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>INSERT3.php</title>
</head>
<body>
<?php include(WITP.inc);
mysqli_connect($host,$user,$password);
USE wip;
INSERT INTO game (Game_name,Max_players,
Blue_name,Blue_pass, Red_name, Red_pass,Number_turns, Duration_turns)
VALUES
('GN[Game_name]','MaxP[Max_players]','BN[Blue_name]',
'GPB[Blue_pass]', 'RN[Red_name]', 'GPR[Red_pass]',
'NumT[Number_turns]','DurT[Duration_turns]');
header("Location: page4.php");
?>
</body>
</html>
Merci de votre aide