Jump to content


Photo

Listando Resultados Do Mysql


  • Faça o login para participar
Nenhuma resposta neste tópico

#1 ravel

ravel

    Novato no fórum

  • Usuários
  • 5 posts
  • Sexo:Não informado

Posted 03/08/2009, 14:28

boa tarde pessoal

Deve tratar-se de algum detalhe simples:

Como eu faço pra criar uma quebra de linha no resultado, de forma que as listagem se sucedam, sem que o background da tabela onde o resultado esta inserido tambem se repita.
Sera que ficou claro ?

anuncio_gratis.php

</style><table width="518" border="0" align="center" cellpadding="0" cellspacing="0">  <tbody>    <tr>      <td valign="top" bgcolor="#FFFFFF"><img src="imagens/gratis_01.jpg" width="518" height="18" /></td>    </tr>    <tr>      <td valign="top" background="imagens/gratis_03.jpg"><table width="98%" border="0" align="center" cellpadding="2" cellspacing="2">        <tr>          <td><? include("cont_anuncio_gratis.php"); ?></td>          </tr>      </table></td>    </tr>    <tr>      <td height="19" valign="top" bgcolor="#FFFFFF"><img src="imagens/gratis_05.jpg" width="518" height="19" /></td>    </tr>  </tbody></table> cont_anuncio_gratis.php<? if($Anunciante[endereco]){ ?>                <table width="100%">				<tr>                  <td width="100%" class="TextoCinzaEscuro"><strong><span class="TituloVermelho"><strong>                    <?=$Anunciante[anunciante];?>                  </strong></span></strong>-<strong> </strong><?=$Anunciante[endereco];?>                      <strong> - Tel.:                      <?=$Anunciante[telefone];?></strong></td>                </tr>                <? } if($Anunciante[telefone]){ ?>                <? } if($Anunciante[email]){ ?>                <? } if($Anunciante[site]){?>                <? } if($Anunciante[descricao]){?>                <tr>                  <td class="TextoCinzaEscuro" style="padding-top:4px"><div align="justify"><?=$Anunciante[descricao]; ?></td>                </tr></table>                  <? } "\n"?><hr noshade="noshade" />


Preciso que o cont_anuncio_gratis.php se REPITA dentro do anuncio_gratis.php (que nao deve se repetir).

desde ja agradeco

Edição feita por: ravel, 05/08/2009, 07:05.
Utilize a tag [codebox] nos códigos





1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq