l200/console.php
<?php
include('db1.php');
?>
</head>
<body>
<?php
echo "<h2>hallo </h2>";
// $consoleid = $_GET['consoleid'];
// $query = "select * from consoles
// where consoleid = $consoleid
// ";
// $result = mysqli_query($db1, $query) or die(mysqli_error($db1) .": $query");
// $row = mysqli_fetch_array($result);
// echo "<h2>$row[naam_con] </h2>";
// echo "<p> $row[producent], $row[jaar]</p>";
// $query = "select * from spelers
// where consoleid = $consoleid
// order by voornaam";
// $result = mysqli_query($db1, $query) or die(mysqli_error($db1) .": $query");
// while($row = mysqli_fetch_array($result)){
// echo "<div><a href='speler.php?spelerid=$row[spelerid]'> $row[voornaam]</a></div>";
// }
?>
</body>
</html>
Resultaat
Made by Thijs Aarnoudse