<?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[Sommare campi tabella]]></title><description><![CDATA[<p dir="auto">Salve a tutti, ho una tabella che si chiama utenti e vorrei sommare tutti i campi che si chiamano "id".</p>
]]></description><link>https://dev.connect.gt/topic/167979/sommare-campi-tabella</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 22:13:24 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/167979.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Mar 2012 20:29:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Sommare campi tabella on Sun, 18 Mar 2012 11:17:24 GMT]]></title><description><![CDATA[<p dir="auto">Puoi usare anche una</p>
<pre><code>SELECT SUM(id) as totale FROM utenti
</code></pre>
]]></description><link>https://dev.connect.gt/post/1058759</link><guid isPermaLink="true">https://dev.connect.gt/post/1058759</guid><dc:creator><![CDATA[linoma]]></dc:creator><pubDate>Sun, 18 Mar 2012 11:17:24 GMT</pubDate></item><item><title><![CDATA[Reply to Sommare campi tabella on Sun, 18 Mar 2012 09:42:21 GMT]]></title><description><![CDATA[<p dir="auto">Per la parte in html che utilizzo?</p>
]]></description><link>https://dev.connect.gt/post/1058762</link><guid isPermaLink="true">https://dev.connect.gt/post/1058762</guid><dc:creator><![CDATA[heron]]></dc:creator><pubDate>Sun, 18 Mar 2012 09:42:21 GMT</pubDate></item><item><title><![CDATA[Reply to Sommare campi tabella on Thu, 15 Mar 2012 08:51:37 GMT]]></title><description><![CDATA[<p dir="auto">Dovrebbe essere qualcosa tipo il seguente codice</p>
<pre><code class="language-php">$query =  ' SELECT * FROM utenti '; 
$result = mysql_query($query, $db) or die (mysql_error($db));
$somma = 0;
while ($row = mysql_fetch_array($result)) {
$somma += (int) $row[id];
}
</code></pre>
]]></description><link>https://dev.connect.gt/post/1058761</link><guid isPermaLink="true">https://dev.connect.gt/post/1058761</guid><dc:creator><![CDATA[cyrus]]></dc:creator><pubDate>Thu, 15 Mar 2012 08:51:37 GMT</pubDate></item></channel></rss>