Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table cellspacing="3" style="width: 25px;" >
- <hr style="color:
- #3b3b3b" width="100%" />
- <?php
- $query = "SELECT * FROM photos WHERE email='$email'";
- $fire = mysqli_query($con,$query) or die("can not fetch data from database ".mysqli_error($con));
- if (mysqli_num_rows($fire)>0) {
- $users = mysqli_fetch_assoc($fire);
- while ($users = mysqli_fetch_assoc($fire)) {?>
- <div class="row">
- <div class="column">
- <a href="<?php echo $users['image_url']?>" data-lightbox="image" rel="lightframe[|width:400px; height:300px; scrolling: auto;]">
- <img class="img" src="<?php echo $users['image_url']?> " width="255px;" height="250px;">
- </a>
- </div>
- </div>
- </div><?php
- }
- }else{
- echo "there is no data to show";
- }
- ?>
- </table>
Add Comment
Please, Sign In to add comment