Guest User

Untitled

a guest
Jul 16th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. <table cellspacing="3" style="width: 25px;" >
  2. <hr style="color:
  3. #3b3b3b" width="100%" />
  4. <?php
  5. $query = "SELECT * FROM photos WHERE email='$email'";
  6. $fire = mysqli_query($con,$query) or die("can not fetch data from database ".mysqli_error($con));
  7. if (mysqli_num_rows($fire)>0) {
  8. $users = mysqli_fetch_assoc($fire);
  9. while ($users = mysqli_fetch_assoc($fire)) {?>
  10.  
  11.  
  12.  
  13. <div class="row">
  14. <div class="column">
  15.  
  16.  
  17. <a href="<?php echo $users['image_url']?>" data-lightbox="image" rel="lightframe[|width:400px; height:300px; scrolling: auto;]">
  18. <img class="img" src="<?php echo $users['image_url']?> " width="255px;" height="250px;">
  19.  
  20. </a>
  21. </div>
  22. </div>
  23.  
  24.  
  25.  
  26. </div><?php
  27. }
  28. }else{
  29. echo "there is no data to show";
  30. }
  31. ?>
  32. </table>
Add Comment
Please, Sign In to add comment