Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. <html>
  2. <head>
  3. <style>
  4. table {
  5. font-family: arial, sans-serif;
  6. border-collapse: collapse;
  7. width: 100%;
  8. }
  9.  
  10. td, th {
  11. border: 1px solid #dddddd;
  12. text-align: left;
  13. padding: 8px;
  14. }
  15.  
  16. tr:nth-child(even) {
  17. background-color: #dddddd;
  18. }
  19. </style>
  20. </head>
  21.  
  22.  
  23. <div align="right">
  24. <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>
  25. </div>
  26.  
  27.  
  28. <h2>ANAGRAFICA</h2>
  29.  
  30. <table>
  31. <tr>
  32. <th>Cognome</th>
  33. <th>Nome</th>
  34. <th>Mail</th>
  35. <th>Telefono</th>
  36. </tr>
  37.  
  38.  
  39. <?php
  40. for($i=0;$i<$record;$i++){
  41. $row=@mysqli_fetch_array($result);
  42. ?>
  43. <tr>
  44. <td><?php
  45. echo $row['cognome'];
  46. ?>
  47. </td>
  48. <td>
  49. <?php
  50. echo $row['nome'];
  51. ?>
  52. </td>
  53. <td>
  54. <?php
  55. echo $row['email'];
  56. ?>
  57. </td>
  58. <td>
  59. <?php
  60. echo $row['telefono'];
  61. ?>
  62. </td>
  63. </tr>
  64. <?php
  65. }
  66. ?>
  67.  
  68.  
  69. </table>
  70.  
  71. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement