Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <?php
  2. include("includes/db.php");
  3.  
  4. $sql = "
  5. SELECT * FROM artisti where idartista =" .$_GET['id'];
  6.  
  7. $result = $con->query($sql);
  8. if ($result->num_rows >0)
  9. while ($row = $result->fetch_assoc()):?>
  10.  
  11. <h2> <?php echo $row['nome'];?> </h2>
  12. <img src="<?php echo $imgdir."img".$row['img'];?>">
  13. <h3>biografia</h3>
  14. <p> <?php echo $row['bio'];?></p>
  15.  
  16. <?php
  17. endwhile;
  18. ?>
  19.  
  20. <h3>Concerti</h3>
  21. <table class='home-table' id=''>
  22. <tr>
  23. <th>Location</th>
  24. <th>Città</th>
  25. <th>Data</th>
  26. </tr>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement