Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="panel_lewy">
- <h2>Wykaz samochodów</h2>
- <?php
- $con = mysql_connect ('localhost' , 'root' , '') or die;
- mysql_select_db ('komis', $con);
- $zap1 = mysql_query ("select id, marka, model from samochody");
- $dane1 = mysql_fetch_array($zap1);
- echo "<ul>";
- do {
- echo "<li>". $dane1['id'] . " " . $dane1['marka'] . " " . $dane1['model']. "</li>";
- }while ($dane1= mysql_fetch_array($zap1));
- echo "</ul>";
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement