I orignally put this code in but it would only align images on one side whereas I would like one image on the left and another image on the right as there would only be two items of news per page.
This code works perfectly if i didn't mind that
- PHP: Select all
while($code = mysql_fetch_array($q)) {?>
<? $date = $code['date']; ?>
<b><?php echo $code['title']; ?></b><br>
Added on: <?php echo $date; ?><br>
<p class="style3"><?php echo $code['content']; ?></p><img src="images/jack1.jpg"><br>
<?}