Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
So far iam getting data from database but not in the way i want:

PHP
<?php
                            getAllData();
                            function getAllData()
                            {
                                global $row,$sql2;
                                echo '<div class="wrap-developers">';
                                while($row=mysql_fetch_array($sql2))
                                {
                                    $id=$row['id'];

                                    echo '<h3>User Name: </h3><font color="#3399ff">'.$username=$row["user_name"].'</font><br>';
                                    echo $developer_image="<div class='developer_image'><img src=getimage.php?id=$id></div>";
                                    echo '<br>';
                                    echo $imagename=$row["image_name"].'<br>';
                                }
                                echo '</div>';
                                    echo '<div class="clearfix"> </div>';

                            }
                        ?>



but i want it to look like an image gallery, but nothing works like if i use float: left; it does nothing. Help Please!!
Posted
Comments
Member 10011989 19-Sep-15 3:45am    
http://www.tutorialized.com/tutorial/Image-gallery-using-php-and-mysql-blob-storage-and-displaying-the-image-from-mysql-blob/75423
narenamarsharma 27-Sep-15 23:29pm    
Thanx that helped me a great deal :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900