Hey guys so I'm trying to make a list of books in my website (getting them from my database), and I succeded to put them but they are displaying one under the other... and I want to put them side by side.
Just in case you didn't understand me, I will give you an example:
What I have now is:
What I want to do is:
Book1 -> Book2 -> Book3
This is my code:
I've tested many way to do it, and I noticed that the problem is the "while".. because without it, it will be good... but I really need this while loop.
$ShowTopic = 'SELECT * FROM Books WHERE age = "Children"';
$Topicquery = mysql_query($ShowTopic);
<a href="details.php?book=<?php echo $DisTopic['getTitle']?>"><?php echo $DisTopic['Title'];?></a>
<a href="details.php?book=<?php echo $DisTopic['getTitle']?>"><img src="<?php echo $DisTopic['Image'];?>" alt="" width="98" height="150" title="" class="thumb" border="0" /></a>
Anyone can help me please? Its for my final project and I will gladly appreciate your help