Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <style>
- table {
- font-family: arial, sans-serif;
- border-collapse: collapse;
- width: 100%;
- }
- td, th {
- border: 1px solid #dddddd;
- text-align: left;
- padding: 8px;
- }
- tr:nth-child(even) {
- background-color: #dddddd;
- }
- </style>
- </head>
- <div align="right">
- <p><a href="http://rubrica.local/add.php" target="_blank" title="Inserisci Dati"><input name="button" value="Inserimento Anagrafica" style=" style=" color:#007fff; background-color: #00CC00;" type="submit"></a></p>
- </div>
- <h2>ANAGRAFICA</h2>
- <table>
- <tr>
- <th>Cognome</th>
- <th>Nome</th>
- <th>Mail</th>
- <th>Telefono</th>
- </tr>
- <?php
- for($i=0;$i<$record;$i++){
- $row=@mysqli_fetch_array($result);
- ?>
- <tr>
- <td><?php
- echo $row['cognome'];
- ?>
- </td>
- <td>
- <?php
- echo $row['nome'];
- ?>
- </td>
- <td>
- <?php
- echo $row['email'];
- ?>
- </td>
- <td>
- <?php
- echo $row['telefono'];
- ?>
- </td>
- </tr>
- <?php
- }
- ?>
- </table>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement