View Single Post
  #2 (permalink)  
Old April 23rd, 2016, 03:36 AM
asimhazro asimhazro is offline
Registered User
Points: 9, Level: 1
Points: 9, Level: 1 Points: 9, Level: 1 Points: 9, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2016
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Display image in gridview according to selected date of user

Always use css to display images or contents in gird style from your database...
if size of your content displaying page is 900px then you fix size of each content close to 280px then your 3 images will come in single line....

<div style=" width:280px; height:300px; float:left; padding:10px;">
<?php
work with while loop and then you will get result
?>
</div>

for more get developers community