Originalmente inviato da
mzanella
Quindi sono allineati
Anziché provare modifiche del codice o del database senza una meta precisa dovresti piuttosto:
La pagina in questione è presente online?
Codice HTML:
<!DOCTYPE html>
<html lang="en">
<head>
<title>IDT</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Custom fonts for this template -->
<link href="bt/vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
<link
href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i"
rel="stylesheet">
<!-- Custom styles for this template -->
<link href="bt/css/sb-admin-2.min.css" rel="stylesheet">
<!-- Custom styles for this page -->
<link href="bt/vendor/datatables/dataTables.bootstrap4.min.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand-sm bg-dark navbar-dark">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link">PROVA</a>
</li>
<li class="nav-item">
<a class="nav-link" href="gestione_rifiuto.php">Gestione Rifiuti</a>
</li>
<li class="nav-item">
<a class="nav-link" href="registra_rifiuto.php">Registra Rifiuti</a>
</li>
</ul>
</nav>
<br>
<div class="container">
<!--<div class="col-lg-10 bg-light rounded my-2 py2">-->
<h4> <p class="text-center"><strong>CREA IDT</strong></p></h4>
<div class="row justife-content-center">
<hr>
<!-- form crea idt -->
<form action="creaidt_action.php" method="post">
<div class="input-group mb-3">
<div class="input-group-prepend">
<button type="submit" class="btn btn-dark">CREA IDT</button>
</div>
<input class="form-control" type="text" name="idt" placeholder="IDT">
<input class="form-control" type="date" name="data_trattato" placeholder="gg/mm/aaaa">
</div>
</div>
<br>
<!-- TABELLA RIFIUTI -->
<div class="table-responsive">
<table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
<thead class="thead-dark">
<tr>
<th>ID DB</th>
<th>DATA STOCCAGGIO</th>
<th>ID RIFIUTO</th>
<th>OMOLOGA</th>
<th>CER</th>
<th>SELEZIONA ID</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>19/11/2020</td>
<td>1</td>
<td>45</td>
<td>4545</td>
<td>
<input type="checkbox" name="id_id[]" value="1"> Seleziona ID
</td>
</tr>
<tr>
<td>2</td>
<td>19/11/2020</td>
<td>2</td>
<td>321</td>
<td>3</td>
<td>
<input type="checkbox" name="id_id[]" value="2"> Seleziona ID
</td>
</tr>
<tr>
<td>3</td>
<td>19/11/2020</td>
<td>3</td>
<td>223</td>
<td>2323</td>
<td>
<input type="checkbox" name="id_id[]" value="3"> Seleziona ID
</td>
</tr>
</tbody>
</table>
</form>
</div>
</div>
</div>
</div>
</script>
<!-- Bootstrap core JavaScript-->
<script src="bt/vendor/jquery/jquery.min.js"></script>
<script src="bt/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Core plugin JavaScript-->
<script src="bt/vendor/jquery-easing/jquery.easing.min.js"></script>
<!-- Custom scripts for all pages-->
<script src="bt/js/sb-admin-2.min.js"></script>
<!-- Page level plugins -->
<script src="bt/vendor/datatables/jquery.dataTables.min.js"></script>
<script src="bt/vendor/datatables/dataTables.bootstrap4.min.js"></script>
<!-- Page level custom scripts -->
<script src="bt/js/demo/datatables-demo.js"></script>
</body>
</html>