<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Visualizzazione tabella]]></title><description><![CDATA[<p dir="auto">Ciao a tutti, mi sto arrovellando il cervello su come fare,utilizzando php, a visualizzare una tabella prendendo i dati da tue table di MySql.<br />
Provo a spiegarmi.<br />
La prima tabella (<strong>A</strong>) contiene nome di persone e altri dati al momento non rilevanti</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th><strong>Nome</strong></th>
<th><strong>BlaBla</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>Pippo</td>
<td>irrilevante</td>
</tr>
<tr>
<td>Pluto</td>
<td>irrilevante</td>
</tr>
<tr>
<td>Paperino</td>
<td>irrilevante</td>
</tr>
<tr>
<td>Qui</td>
<td>irrilevante</td>
</tr>
<tr>
<td>Quo</td>
<td>irrilevante</td>
</tr>
<tr>
<td>Qua</td>
<td>irrilevante</td>
</tr>
</tbody>
</table>
<p dir="auto">La deconda tabella (<strong>B</strong>) contiene l'imegno dei nomi della precedente tabella</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th><em><strong>Giorno</strong></em></th>
<th><em><strong>M/P</strong></em></th>
<th><em><strong>Vol1</strong></em></th>
<th><em><strong>Vol2</strong></em></th>
<th><em><strong>Vol3</strong></em></th>
<th><em><strong>Vol4</strong></em></th>
<th><em><strong>Vol5</strong></em></th>
<th><em><strong>Vol6</strong></em></th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>M</td>
<td>Pippo</td>
<td>Quo</td>
<td>Pluto</td>
<td></td>
<td>Qui</td>
<td></td>
</tr>
<tr>
<td>2</td>
<td>M</td>
<td>Qui</td>
<td>Qua</td>
<td>Pippo</td>
<td>Paperino</td>
<td>Qua</td>
<td>Pluto</td>
</tr>
<tr>
<td>3</td>
<td>P</td>
<td>Paperino</td>
<td>Pluto</td>
<td></td>
<td>Qui</td>
<td>Pippo</td>
<td></td>
</tr>
<tr>
<td>4</td>
<td>P</td>
<td>Pluto</td>
<td>Qui</td>
<td>Quo</td>
<td>Paperino</td>
<td>Qua</td>
<td></td>
</tr>
</tbody>
</table>
<p dir="auto">L'idea è quella di visualizzare una tabella così strutturata</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th><em><strong>Nome</strong></em></th>
<th><em><strong>Giorno</strong></em></th>
<th><em><strong>Giorno</strong></em></th>
<th><em><strong>Giorno</strong></em></th>
<th><em><strong>Giorno</strong></em></th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
<tr>
<td>Pippo</td>
<td>M</td>
<td>M</td>
<td>P</td>
<td></td>
</tr>
<tr>
<td>Pluto</td>
<td>M</td>
<td>M</td>
<td>P</td>
<td>P</td>
</tr>
<tr>
<td>Paperino</td>
<td></td>
<td>M</td>
<td>P</td>
<td>P</td>
</tr>
<tr>
<td>Qui</td>
<td>M</td>
<td>M</td>
<td>P</td>
<td>P</td>
</tr>
<tr>
<td>Quo</td>
<td>M</td>
<td>M</td>
<td></td>
<td>P</td>
</tr>
<tr>
<td>Qua</td>
<td></td>
<td>M</td>
<td></td>
<td>P</td>
</tr>
</tbody>
</table>
<p dir="auto">Leggendo <strong>Nome</strong> da <strong>A</strong> non so poi come andare a posizionare correttamente M o P nella colonna <strong>Giorno</strong><br />
Mostrando a browser la tabella <strong>B</strong> ovviamnte l'utilizzatore "va nei matti" nella ricerca del suo nome.</p>
<p dir="auto">Qualche suggerimento?</p>
<p dir="auto">Grazie a tutti anticipatamente</p>
]]></description><link>https://dev.connect.gt/topic/194619/visualizzazione-tabella</link><generator>RSS for Node</generator><lastBuildDate>Fri, 27 Nov 2026 15:55:38 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/194619.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Oct 2013 17:24:47 GMT</pubDate><ttl>60</ttl></channel></rss>