Jump to content


Photo

Popular Colunas Em Tabela


  • Faça o login para participar
1 reply to this topic

#1 ThiAgo Leão

ThiAgo Leão

    Normal

  • Usuários
  • 64 posts
  • Sexo:Masculino
  • Interesses:PHP, MYSQ, Flash, Css, XHTML, Photoshop, Corel Draw

Posted 06/09/2012, 13:26

Fala ae galera, beleza?
estou com uma duvida boba, alguem poderia me ajudar?

Tenho uma tabela com 2 colunas...

Gostaria de popular alternando as colunas, primeiro na esquerda, depois na direita...

Tenho que usar mod?

Obrigado!

<table border="1">
  <tr>
	<th class="qtd">QTDE.</th>
	<th class="und">UNID.</th>
	<th class="desc">DESCRIÇÃO</th>
	
	<th class="qtd">QTDE.</th>
	<th class="und">UNID.</th>
	<th class="desc">DESCRIÇÃO</th>
  </tr>
  <tr>
    <td>1</td>
    <td>100</td>
	<td>descricao1</td>
	
	<td>2</td>
    <td>200</td>
	<td>descricao2</td>
  </tr>
</table>


#2 Diego Bezerra

Diego Bezerra

    Diego Bezerra

  • Moderadores
  • 938 posts
  • Sexo:Masculino
  • Localidade:Amazonas
  • Interesses:Iniciando no C# com MSSQL.

Posted 06/09/2012, 17:11

ola me tira uma duvida vc usa base dados ou só html?
Att.
Diego Bezerra
Agência Kernel - em Breve
Email/msn: diegobezerra@outlook.com
Facebook




1 user(s) are reading this topic

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

IPB Skin By Virteq