Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. <?php
  2. $polaczenie=mysqli_connect('localhost','root','','poradnia') or die("BŁĄD POŁĄcZENIA");
  3. $SQL="SELECT imie, nazwisko FROM pacjenci where choroba like 'J05';";
  4. $wynik=mysqli_query($polaczenie,$SQL);
  5. while($wiersz=mysqli_fetch_assoc($wynik))
  6. {
  7. echo'<p>Imie i Nazwisko'.$wiersz['imie'].' '.$wiersz['nazwisko'].'</p>';
  8. }
  9. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement