<?php
$query1="SELECT * FROM user_photos_offline WHERE ssmid='$ssmid' AND status='1' ORDER BY date_uploaded DESC LIMIT 0,5";
$sql=mysql_query($query1);
$count=mysql_num_rows($sql);
$results=array();
while($row=mysql_fetch_assoc($sql)){
// $results[]=$row['image'];
?>
<img src="upload_images/<?php echo $row['image']?>" class="img-responsive image" onclick="showImg('upload_images/<?php echo $row['image']?>')">
<!-- Here i got all images,now it will showing in row by row,but dont want like this,i want i row for and remaining photos are come slider, idont know how to write the code-->
<?php } ?>
I am working on developing an image slider without using a plugin. I need assistance with coding the slide functionality for displaying multiple images in a single row followed by the rest of the images being shown in a slider format. Any suggestions or help would be greatly appreciated.