How to display query results in an HTML page
- by user272899
When showing data from a mysql table on an php page does it have to be in a table??
What I want to do is display my results in divs.
like so:
<div class="moviebox rounded"><a href="">
<img src=" $imgurl " />
<form method="get" action="">
<input type="text" name="link" class="link" style="display:none" value="http://us.imdb.com/Title? $imdburl "/>
</form>
</a></div>
And have that repeat for each one of the images in the database. How is this done?? I am fine showing the data in a table but can't seem to get this right