Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $polaczenie=mysqli_connect('localhost','root','','poradnia');
- $sql="SELECT id, imie, nazwisko, choroba FROM pacjenci";
- $wynik=mysqli_query($polaczenie,$sql);
- while($wiersz=mysqli_fetch_assoc($wynik)) {
- echo '<p>'.$wiersz["id"].' '.$wiersz["nazwisko"].' '.$wiersz["choroba"].'</p>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement