Ver original<?$c=0;while($suc=mysql_fetch_array($othersuc)) {echo $suc['calle'].' '. $suc['numero'];$c++;if($c==1) echo '<br />'; if(mysql_num_rows($othersuc) > 2 && $c==1) echo '<div>'; if(mysql_num_rows($othersuc) > 2 && $c==mysql_num_rows($othersuc)) echo '</div>'; } ?>