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> |
Partager