<?php

                               $connect=mysqli_connect('localhost', 'root', '', 'klasa1');

                               $sql="SELECT `id`, `imie`, `nazwisko` FROM `uczen`";

                               $query=mysqli_query($connect,$sql);

                               while($linia=mysqli_fetch_assoc($query))

                               {

                               echo"<p>".$linia['id']."." .$linia['imie']." ".$linia['nazwisko']."</p>";

                               }

                              

                               mysqli_close($connect);

                              

                               ?>