Untitled

 avatar
unknown
php
2 years ago
1.5 kB
5
Indexable
                            
                            <div class="row">						
<?php 
$sql = "SELECT * FROM `userspictures` WHERE `userID` = '".$_SESSION['UserNameId']."'";
$res_data = mysqli_query($campist,$sql);
while($mypics = mysqli_fetch_array($res_data)){
?>			 <form autocomplete="off" method="post">	
								<div class="col-sm-4">
                                    <div class="gal-detail thumb">
                                        <span class="image-popup" title="Screenshot-2">
                                            <img name="image" src="pages/users/storage-space/<?php print strtolower($_SESSION['UserName']); ?>/picture/<?php print $mypics['image'];?>" class="thumb-img" alt="<?php print $pictures; ?>">
                                        </span>
                                        <h4 class="text-center">Gallary Image</h4>
                                        <div class="ga-border"></div>
                                        <p class="text-muted text-center"><small>
										<input type="hidden" name="image" value="<?php print $mypics['image']; ?>" />
                                        <button type="submit" class="btn btn-default" name="updateImagePicture">Benyt <?php print $mypics['id']; ?></button>
										</small></p>
                                    </div>
                                </div>
               </form>
<?php } mysqli_close($campist); ?>				
                            </div>
						    	
Editor is loading...