Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title> </title>
- </head>
- <body>
- <?php
- $wynik = mysql_query("SELECT * FROM tabela")
- or die("bÅÄ d zapytanie");
- if(mysql_num_rows($wynik>0)){
- echo "<table cellpadding=\"2\" border=1>";
- while($r = mysql_fetch_assoc($wynik)){
- echo"<tr>";
- echo"<td>".$r['Imie']."</td>";
- echo"<td>".$r['Nazwisko']."</td>";
- echo"<td>".$r['Telefon']."</td>";
- echo"<td>".$r['nr']."</td>";
- echo"<tr>";
- }
- }
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement