Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>podstawa</title>
  4. <meta charset="utf-8">
  5.  
  6. <link rel="Stylesheet" type="text/css" href="przychodnia1.css" />
  7.  
  8. </head>
  9. <body>
  10.  
  11. <div id='ban'>
  12. <h1>PORADNIA SPECJLAISTYCZNA</h1>
  13. </div>
  14.  
  15. <div id='lew'>
  16. <h3>LEKARZE SPECJALIŚCI</h3>
  17.  
  18. <table border='1'>
  19. <tr>
  20. <td colspan='2'>Pponiedziałek</td>
  21. </tr>
  22. <tr>
  23. <td>Anna Kowalska</td><td>Otolalyngorog</td>
  24. </tr>
  25. <tr>
  26. <td colspan='2'>Wtorek</td>
  27. </tr>
  28. <tr>
  29. <td >Jan Nowak</td> <td>Kardiolog</td>
  30. </tr>
  31. </table>
  32. <h3>LISTA PACJENTÓW</h3>
  33. <?php
  34.  
  35. $pol=mysqli_connect('loclahost','root','','przychodnia1') or die("Nie połączono");
  36. $ask="SELECT id, imie, nazwisko , choroba from pacjenci;";
  37. $wyn=mysqli_query($pol,$ask);
  38. while($lin=mysqli_fetch_row($wyn)){
  39. echo $lin[0].' '.echo $lin[1].' '.echo $lin[2].' '.echo $lin[3].'<br> ';
  40. }
  41.  
  42. ?>
  43. <BR><BR>
  44. <form action='pacjent1.php' method='POST'>
  45. Podaj id: <Input type='number' name='id'> <input type='submit'>
  46. </form>
  47. </div>
  48.  
  49. <div id='praw'>
  50. <h2>KARTA PACJENTA</H2>
  51. </div>
  52.  
  53. <div id='stop'>
  54. <p>Stronę utworzył: PESEL</p> <A href='#kwerenda.txt'>Kwerendy</a>
  55.  
  56. </div>
  57. </body>
  58. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement