New file |
0,0 → 1,34 |
<form name="form_observation" method="post" action="<?= $url_page ?>"> |
|
<? |
|
if (( !isset($_POST['valid_station']))) { |
|
/***** Demande d'envoi d'observations *****/ |
|
if (!$choixCommune) { |
//Récupération des stations d'observation |
$requete_stations = mysql_query("select distinct STATION.STATION_NOM, STATION.STATION_ID from STATION where STATION.PARTICIPANT_ID=".$_SESSION['participant']); |
|
$num=0; |
while ($station = mysql_fetch_row($requete_stations)) { |
echo mysql_error(); |
?> |
<input type="radio" name="station" value="<?= $station[1] ?>" ><?= $station[0] ?><br> |
<? |
} |
} |
//Affichage des éventuelles erreurs |
afficherErreurs($erreurs); |
|
?> |
|
|
<center> |
<input type="submit" class="submit" name="valid_station" value="Choisir cette station"> |
</center> |
<input type="hidden" name="etape" value="<?= $etape ?>"> |
<input type="hidden" name="<?= $provenance ?>" value="1"> |
<input type="hidden" name="<?= $provenance ?>etape" value="<?= $etape ?>"> |
</form> |
<? } ?> |