Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>podstawa</title>
- <meta charset="utf-8">
- <link rel="Stylesheet" type="text/css" href="przychodnia1.css" />
- </head>
- <body>
- <div id='ban'>
- <h1>PORADNIA SPECJLAISTYCZNA</h1>
- </div>
- <div id='lew'>
- <h3>LEKARZE SPECJALIŚCI</h3>
- <table border='1'>
- <tr>
- <td colspan='2'>Pponiedziałek</td>
- </tr>
- <tr>
- <td>Anna Kowalska</td><td>Otolalyngorog</td>
- </tr>
- <tr>
- <td colspan='2'>Wtorek</td>
- </tr>
- <tr>
- <td >Jan Nowak</td> <td>Kardiolog</td>
- </tr>
- </table>
- <h3>LISTA PACJENTÓW</h3>
- <?php
- $pol=mysqli_connect('loclahost','root','','przychodnia1') or die("Nie połączono");
- $ask="SELECT id, imie, nazwisko , choroba from pacjenci;";
- $wyn=mysqli_query($pol,$ask);
- while($lin=mysqli_fetch_row($wyn)){
- echo $lin[0].' '.echo $lin[1].' '.echo $lin[2].' '.echo $lin[3].'<br> ';
- }
- ?>
- <BR><BR>
- <form action='pacjent1.php' method='POST'>
- Podaj id: <Input type='number' name='id'> <input type='submit'>
- </form>
- </div>
- <div id='praw'>
- <h2>KARTA PACJENTA</H2>
- </div>
- <div id='stop'>
- <p>Stronę utworzył: PESEL</p> <A href='#kwerenda.txt'>Kwerendy</a>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement