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
| <?php require('inc_connection.php'); ?>
<!DOCTYPE html>
<html>
<head>
<?php
$id= $_GET['id'];
$result = $mysqli->query('SELECT ville_id, ville_nom, ville_texte FROM villes Where ville_id='.$id);
$row = $result->fetch_array();
$nom= $row['ville_nom'];
$texte = $row['ville_texte'];
?>
<title><?php echo $nom?></title>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<div>
<h1><?php echo $nom ?></h1>
<p><?php echo $text ?></p>
</div>
<?php require('inc_menu.php') ?>
<?php require('inc_footer.php') ?> |
Partager