-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathajoutfam.php
More file actions
34 lines (33 loc) · 957 Bytes
/
Copy pathajoutfam.php
File metadata and controls
34 lines (33 loc) · 957 Bytes
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>
<body>
<div class="grid_4" >
<div class="box" >
<h2><a href="#" >Une nouvelle famille est arrivée</a></h2>
<p><b><font color="#FF0000" >Les valeurs suivantes ont été ajoutées à la table des Familles</font></b>
<div style="margin: 0px; overflow: hidden; position: static;">
<div style="margin: 0px;" class="block" id="tables">
<table>
<tbody><tr><th>Numéro de catégories</th>
<th>Nom</th>
<th>Nom Latin</th>
<th>Origine</th></tr>
<tr><td><?php echo $_POST["nr_famnew"];?></td>
<td><?php echo $_POST["nom"];?></td>
<td><?php echo $_POST["latin"];?></td>
<td><?php echo $_POST["orig"];?></td></tr>
</tbody>
</table>
</p>
<?php
include('bastide.php');
$nr_famnew = $_POST["nr_famnew"];
$nom = $_POST["nom"];
$latin = $_POST["latin"];
$orig = $_POST["orig"];
pg_query ($dbconn, "INSERT INTO familles
VALUES (
'$nr_famnew', '$nom', '$latin', '$orig')");
?>
</div>
</body>
</html>