Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $nr=$_POST['numer'];
- $conn=mysqli_connect('localhost','root','','sklep1');
- $sql="select gatunek, wystepowanie from zwierzeta where gromady_id='$nr'";
- $result=mysqli_query($conn,$sql);
- while( $lin=mysqli_fetch_row($result)){
- echo "Gatunek to: ".$lin[0].", wystepowanie: ".$lin[1]."<br>";
- }
- mysqli_close($conn);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement