here is the code that isnt working.
<?php
while($row_a = mysql_fetch_array($res))
{
?>
<div id="rec_title">- <?php echo $row_a['title']; ?></div> <div id="status"><img src="/images/usercp/<?php echo $row_a['approved'];?>.png" /></div><br/>
<?php } ?>
here is the exact same loop on another page doing the same thing and working
<?php
while($row_a = mysql_fetch_array($res))
{
?>
<div id="inbox_content">
<div id="from"><?php echo $row_a['from_user']; ?></div>
<div id="title"><a href="view_pm.php?id=<?php echo $row_a['pm_id']; ?>">
<?php echo $row_a['title']; ?>
</a></div>
<div id="delete"><a href="delete_pm.php?id=<?php echo $row_a['pm_id']; ?>" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('delete','','images/usercp/delete_button_over.png',1)"><img src="images/usercp/delete_button.png" alt="Delete" name="delete" width="55" height="18" border="0" id="delete2" /></a></div>
</div>
<?php } ?>

New Topic/Question
Reply




MultiQuote







|