forked from andrela/japi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparcelle.php
More file actions
34 lines (30 loc) · 1.11 KB
/
Copy pathparcelle.php
File metadata and controls
34 lines (30 loc) · 1.11 KB
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
29
30
31
32
33
34
<html>
<?php
setlocale (LC_ALL, 'fr_FR.UTF-8');
setlocale (LC_ALL, 'fr_FR.UTF-8');
$dateheure=strftime( "Aujourdhui,le %A %d %B %Y à %H:%M:%S");
$date=strftime("%d/%m/%Y");
include('bastide.php');
if (!empty($_GET["plan"])) {
echo '
<b> La planche de <font color=\"#FF0000\"> <?php echo ;?></font><br>
porte le numéro <strong><?php echo $semence;?></strong> et la référence <strong><?php echo $refab;?></strong><br>
Il y a actuelement <strong><font color=\"#FF0000\"><?php echo $sold;?></font></strong> graines dans le sachet.<br></b>';
}
echo '<H3>Sélectionner un planche en cours !!</H3><br>';
?>
<form method="POST" ACTION="plant.php">
<select name="parc"> <?php $num3 = pg_num_rows($parcelle);
$i=0;
while ($i < $num3) {
$nr_planche = pg_fetch_result($parcelle, $i, 0);
$nom1 = pg_fetch_result($parcelle, $i, 5);
echo "<option value=\"$nr_planche\" SELECTED>$nr_planche-$nom1</option>\n";
$i++;
}
?>
</select>
<input type="submit" name="planche" value="Action sur Planches!">
</form>
</div>
</html>