Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $conn=mysqli_connect('localhost','root','','sklep1');
- $sql="select zwierzeta.id, zwierzeta.gatunek, gromady.nazwa from zwierzeta inner join gromady on zwierzeta.id=gromady.id";
- $result=mysqli_query($conn,$sql);
- while($a=mysqli_fetch_row($result)){
- echo "ID: ".$a[0]." gatunek: ".$a[1]."nazwa gromady<br>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement