<?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[Popolare array tipo tabella]]></title><description><![CDATA[<p dir="auto">Salve, innanzitutto saluto tutto il forum.<br />
Avrei bisogno di un aiuto;<br />
ho un db con le estrazioni del lotto in una tab che ha i seguenti campi:</p>
<p dir="auto">ID         DATA        RUOTA        PRIMO        SECONDO       TERZO        QUARTO        QUINTO<br />
...         ......        ......     ......          ......       ......       ......           ......         ......<br />
...         ......        ......     ......          ......       ......       ......           ......         ......</p>
<p dir="auto">Mi interessa popolare un array con queste caratteristiche per poter poi fare le mie ricerche statistiche.<br />
Come posso fare?<br />
Ho difficoltà nel passare i dati dalla query:</p>
<p dir="auto">"SELECT * FROM tab_estrazioni"</p>
<p dir="auto">all'array.</p>
<p dir="auto">Grazie in anticipo.<br />
Ilsindaco</p>
]]></description><link>https://dev.connect.gt/topic/68087/popolare-array-tipo-tabella</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 23:42:30 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/68087.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Apr 2008 06:51:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Popolare array tipo tabella on Wed, 09 Apr 2008 10:26:05 GMT]]></title><description><![CDATA[<p dir="auto">Salve e benvenuto in GT,</p>
<p dir="auto">devi usare un array multidimensionale.<br />
Metti un contatore all'interno del while con il quale scorri il recordset.<br />
Un cosa del genere:</p>
<pre><code class="language-php">$i = 0;
while ($line = mysql_fetch_array){
   $array[$i]['statistica1'] = $line[0];
   $array[$i]['statistica2'] = $line[1];
   ....
   $i++;
}
</code></pre>
]]></description><link>https://dev.connect.gt/post/701514</link><guid isPermaLink="true">https://dev.connect.gt/post/701514</guid><dc:creator><![CDATA[gorka]]></dc:creator><pubDate>Wed, 09 Apr 2008 10:26:05 GMT</pubDate></item></channel></rss>