26 lines
369 B
PHP
26 lines
369 B
PHP
<?php
|
|
|
|
|
|
include('header.php');
|
|
|
|
if (!isset($_POST['city'])) {
|
|
|
|
echo '
|
|
<h2>Où êtes-vous ?</h2>
|
|
|
|
<form method="post" action="mytown.php">
|
|
<p>
|
|
<label>Ville :
|
|
<input type="text" name="city" />
|
|
</label>
|
|
</p>
|
|
<p>
|
|
<input type="submit" value="Voir tout ce qui se passe de cool autour de chez moi" />
|
|
</p>
|
|
</form>';
|
|
}
|
|
|
|
include('footer.php');
|
|
|
|
|