<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Show number of labels</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Show-number-of-labels-78640</link>
        <description></description>
        <pubDate>Sat, 11 Jul 2026 13:30:32 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Show-number-of-labels-78640" rel="self" type="application/rss+xml" />

                <item>
          <title>Show number of labels</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2230097#post2230097</link>
          <description><![CDATA[<p>Hi Djulia,</p>
<p>tks for the help, you hit the spot :)<br /><br />Rui</p>]]></description>
          <pubDate>Wed, 03 Apr 2013 06:56:48 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2230097#post2230097</guid>
        </item>
                <item>
          <title>Show number of labels</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2230095#post2230095</link>
          <description><![CDATA[<p>Hi Rui,</p>
<p>Jason suggests a solution here:<br /><a href="http://www.interactivetools.com/forum/forum-posts.php?postNum=2213208" rel="nofollow">http://www.interactivetools.com/forum/forum-posts.php?postNum=2213208</a></p>
<p><code>&lt;select&gt;<br /> &lt;option value="?"&gt;My list&lt;/option&gt;<br />  &lt;?php foreach (getListOptions('myTableName','myFieldName') as $value =&gt; $label): ?&gt;<br />  &lt;?php $lisitingCount = mysql_count('myTableName', "myFieldName= '$value'"); ?&gt;<br />    &lt;option value="&lt;?php echo $value; ?&gt;" &lt;?php selectedIf($value, @$_REQUEST['format']); ?&gt;&gt;&lt;?php echo $label; ?&gt; - &lt;?php echo $lisitingCount;?&gt;&lt;/option&gt;<br />  &lt;?php endforeach; ?&gt;<br /> &lt;/select&gt;<br /></code></p>
<p><code>&lt;ul&gt;<br />  &lt;?php foreach (getListOptions('myTableName','myFieldName') as $value =&gt; $label): ?&gt;<br />  &lt;?php $lisitingCount = mysql_count('myTableName', "myFieldName= '$value'"); ?&gt;<br />   &lt;li&gt;&lt;?php echo $label; ?&gt; - &lt;?php echo $lisitingCount;?&gt;&lt;/li&gt;<br />  &lt;?php endforeach ?&gt;<br /> &lt;/ul&gt;</code></p>
<p>I hope this helps!</p>
<p>Djulia</p>]]></description>
          <pubDate>Wed, 03 Apr 2013 06:22:36 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2230095#post2230095</guid>
        </item>
                <item>
          <title>Show number of labels</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2230094#post2230094</link>
          <description><![CDATA[<p>Hi from Portugal,</p>
<p>I´m trying to show the number of labels based on a keyword.<br /><br />Here is my setup:<br />---------------------------------------------------------<br />Artist title<br />Music category<br />   - Radio button (classic)<br />   - Radio button (rock)<br />   - Radio button (techno)<br />Text<br />---------------------------------------------------------<br /><br />On the website i have the categories like this:</p>
<p>what i have:<br />---------------------------------------------------------<br />Classic (number here)  Rock (number here)  Techno (number here)<br />---------------------------------------------------------<br /><br />what i want:<br />---------------------------------------------------------<br />Classic (24)  Rock (12)  Techno (16)<br />---------------------------------------------------------<br /><br /><br />My problem is i want to show the number of labels for category. The code i have is this:</p>
<p><code>Record Number: &lt;?php echo htmlencode($record['num']) ?&gt;&lt;br/&gt;<br />Category (value): &lt;?php echo $record['category'] ?&gt;&lt;br/&gt;<br />Category (label): &lt;?php echo $record['category:label'] ?&gt;&lt;br/&gt;<br />title: &lt;?php echo htmlencode($record['title']) ?&gt;&lt;br/&gt;<br />Text: &lt;?php echo htmlencode($record['text']) ?&gt;&lt;br/&gt;<br />_link : &lt;a href="&lt;?php echo $record['_link'] ?&gt;"&gt;&lt;?php echo $record['_link'] ?&gt;&lt;/a&gt;&lt;br/&gt;</code></p>

<p>I want to make a count of articles that have a category radio button keyword like CLASSIC.<br />I dont know if i explain my self very well.... sorry my english.<br /><br />Can someone help me?</p>]]></description>
          <pubDate>Wed, 03 Apr 2013 05:17:31 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2230094#post2230094</guid>
        </item>
              </channel>
    </rss>
  