<table border="0" width="319" align="center" cellspacing="0" cellpadding="0" bgcolor="#40585F"> 
                                <tr> 
								 <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
                                  <td> 
									<div style="border: 1px solid #C7C7C7;background-color:#596e74;" align="center">
                                      <table width="%100" border="0" cellspacing="0" cellpadding="0"> 
										<tr> 
                                          <td bgColor="#40585F"> 
                                            <div align="center">
												<a class="asgsdg" href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>">xxxxxxx</a>
												<br><a class="asdasd" href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>
												<br><span class="asd"><?php the_category(', ') ?></span>
											</div> 
                                          </td> 
                                        </tr> 
                                      </table> 
									</div>
                                  </td>  
								 <?php endwhile; ?>	
								<?php endif; ?>
                                </tr> 
                              </table>
bu kodların nasıl bi işleve yaradığını bilen bilir.Şimdi görünürde olduğu gibi tekrar ettiriyorum fakat hep td'ler tekrar ediyor.
Ben 10 taneden sonra 1 adet tr kullanmak istiyorum.

Bunu nasıl yapabilirim?

// gerçekten çok ihtiyacım var bu formule.Eğer php ile alakalıysa php bölümüne açayım konuyu?