Jump to content

How do I make a FOR LOOP Results show up in a column


kpetsche20

Recommended Posts

This is what I have right now and the results display going straight down the page. I want them to go down the page but I want 2 results to show up side by side to maximize space on the page.

 

for ($x2= 0; $x2 < mysql_num_rows($resultID2); $x2++) {
	                        $row2 = mysql_fetch_assoc($resultID2);
                		        $dis_opt = $row2['prize_title'];
                		}

?>
      <tr>
        <td width="145"><a href="index.php?p=redeem&item=<?=$row['id']?>"><img src="<?=$row['image']?>" border="0" /></a>
<br><?=$row['desc']?><br><b>Price:</b> <?=$row['value']?></td>
        </tr>
<?
			}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.