<?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[[array multidimensionali] come mostrarne il contenuto?]]></title><description><![CDATA[<p dir="auto">salve,<br />
ho quest'array multidimensionale:</p>
<pre><code>$array=array(1=&gt;('alfa','beta','gamma'),2=&gt;('iota','gamma','altro'))
</code></pre>
<p dir="auto">come imposto il</p>
<pre><code>while(list($a,$b)=each($array)...
</code></pre>
<p dir="auto">per mostrarne il contenuto?</p>
]]></description><link>https://dev.connect.gt/topic/18150/array-multidimensionali-come-mostrarne-il-contenuto</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Dec 2026 02:10:28 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/18150.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Oct 2006 06:28:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [array multidimensionali] come mostrarne il contenuto? on Fri, 26 Oct 2007 10:45:38 GMT]]></title><description><![CDATA[<p dir="auto">Se hai solo due campi non hai bisogno di fare il ciclo, quindi:</p>
<pre><code class="language-php">while ($a_row = mysql_fetch_row($result_co))
{
      print $a_row[0] . " " . $a_row[1] . "&lt;br&gt;\n";
}
</code></pre>
]]></description><link>https://dev.connect.gt/post/377172</link><guid isPermaLink="true">https://dev.connect.gt/post/377172</guid><dc:creator><![CDATA[senamion]]></dc:creator><pubDate>Fri, 26 Oct 2007 10:45:38 GMT</pubDate></item><item><title><![CDATA[Reply to [array multidimensionali] come mostrarne il contenuto? on Thu, 25 Oct 2007 16:43:54 GMT]]></title><description><![CDATA[<p dir="auto">Ciao ragazzi, non riesco ad adattare quel codice al mio caso!</p>
<p dir="auto">dalla tabella votazioni devo stampare i campi commento e data!</p>
<pre><code class="language-php">$result_co = mysql_query("SELECT commento,data FROM votazioni WHERE id_strut =".$id_strut);
</code></pre>
<p dir="auto">se devo stampare solo il commento non c'è problema</p>
<pre><code class="language-php">while ($a_row = mysql_fetch_row($result_co))
{
   foreach ($a_row as $field)
          print " $field\n";          ?&gt; 
 
          &lt;hr size=2 color=#ff8429&gt; &lt;/br&gt;&lt;?
 
}
</code></pre>
<p dir="auto">ma a me servirebbe stampare commento e data separatamente!</p>
<p dir="auto">come fo? <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/f71a0c43-865f-4388-9868-8b387eebeeb1-mmmm.gif?v=3abbd2034aa" class="not-responsive emoji emoji-customizations emoji--mmm" style="height:1.4em;width:auto;vertical-align:middle" title=":?" alt="" /></p>
]]></description><link>https://dev.connect.gt/post/377175</link><guid isPermaLink="true">https://dev.connect.gt/post/377175</guid><dc:creator><![CDATA[gaberiele]]></dc:creator><pubDate>Thu, 25 Oct 2007 16:43:54 GMT</pubDate></item><item><title><![CDATA[Reply to [array multidimensionali] come mostrarne il contenuto? on Wed, 04 Oct 2006 20:10:45 GMT]]></title><description><![CDATA[<p dir="auto">danke<br />
<img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=3abbd2034aa" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://dev.connect.gt/post/377160</link><guid isPermaLink="true">https://dev.connect.gt/post/377160</guid><dc:creator><![CDATA[piccolo.socrate]]></dc:creator><pubDate>Wed, 04 Oct 2006 20:10:45 GMT</pubDate></item><item><title><![CDATA[Reply to [array multidimensionali] come mostrarne il contenuto? on Wed, 04 Oct 2006 07:30:04 GMT]]></title><description><![CDATA[<pre><code>foreach ($array AS $key1 =&gt; $val1)
  foreach ($val1 AS $key2 =&gt; $val2)
    echo "Array di riga $key1, posizione $key2, contenuto $val2&lt;br /&gt;\n";
</code></pre>
]]></description><link>https://dev.connect.gt/post/377174</link><guid isPermaLink="true">https://dev.connect.gt/post/377174</guid><dc:creator><![CDATA[senamion]]></dc:creator><pubDate>Wed, 04 Oct 2006 07:30:04 GMT</pubDate></item></channel></rss>