i need to implement this script to use a counter as to out put the data in columns and rows.
this pulls the data fine no problem just need to lay the data out instead of just in rows. i've tried adding tbl row headers, arrays, but this (do while) errors on me.
I dont know what im not doing correct.
here is my sample code with out the array or db links. just echoing the image.
im using cs4 dw.
Expand|Select|Wrap|Line Numbers
- <?php do { ?>
- <tr>
- <td align="center" ><p><?php echo $row_image['description']; ?> </p>
- <p><img src="<?php echo $row_image['file-system']; ?>" height="120" width="120" align="middle" /></p></td>
- </tr>
- <?php } while ($row_image = mysql_fetch_assoc($image)); ?>
theo werntz