Added submit handling
This commit is contained in:
11
add.php
Normal file
11
add.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
$nome = $_POST['name'];
|
||||
$classe = $_POST['classe'];
|
||||
$votoScritto = $_POST['votoScritto'];
|
||||
$votoOrale = $_POST['votoOrale'];
|
||||
$votoPratico = $_POST['votoPratico'];
|
||||
|
||||
$item = [$nome,$classe,$votoScritto,$votoOrale,$votoPratico];
|
||||
|
||||
echo implode(';', $item)
|
||||
?>
|
||||
@@ -10,7 +10,7 @@
|
||||
<body>
|
||||
<div id="formDiStoGrandissimoCazzo">
|
||||
<p style="font-size: 36pt; text-align: center;">Inserimento Voti</p>
|
||||
<form>
|
||||
<form action="add.php" method="post">
|
||||
<label for="name">Nome Alunno:</label>
|
||||
<input type="text" id="name" name="name" required><br>
|
||||
<label for="classe">Classe:</label>
|
||||
|
||||
Reference in New Issue
Block a user