Subversion Repositories Sites.obs-saisons.fr

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 aurelien 1
<form name="form_observation" method="post" action="<?= $url_page ?>">
2
 
3
<?
4
 
5
if (( !isset($_POST['valid_station']))) {
6
 
7
/***** Demande d'envoi d'observations *****/
8
 
9
if (!$choixCommune) {
10
  //Récupération des stations d'observation
11
  $requete_stations = mysql_query("select distinct STATION.STATION_NOM, STATION.STATION_ID from STATION where STATION.PARTICIPANT_ID=".$_SESSION['participant']);
12
 
13
 $num=0;
14
	while ($station = mysql_fetch_row($requete_stations)) {
15
	echo mysql_error();
16
	?>
17
    <input type="radio" name="station" value="<?= $station[1] ?>" ><?= $station[0] ?><br>
18
    <?
19
    }
20
}
21
//Affichage des éventuelles erreurs
22
afficherErreurs($erreurs);
23
 
24
?>
25
 
26
 
27
<center>
28
<input type="submit" class="submit" name="valid_station" value="Choisir cette station">
29
</center>
30
<input type="hidden" name="etape" value="<?= $etape ?>">
31
<input type="hidden" name="<?= $provenance ?>" value="1">
32
<input type="hidden" name="<?= $provenance ?>etape" value="<?= $etape ?>">
33
</form>
34
<? } ?>