How to display query results in an HTML page

Posted by user272899 on Stack Overflow See other posts from Stack Overflow or by user272899
Published on 2010-03-24T23:14:15Z Indexed on 2010/03/24 23:23 UTC
Read the original article Hit count: 163

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about php

Related posts about html