<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Counting Array Items When perPage Present in Query</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Counting-Array-Items-When-perPage-Present-in-Query-78838</link>
        <description></description>
        <pubDate>Mon, 20 Jul 2026 02:20:58 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Counting-Array-Items-When-perPage-Present-in-Query-78838" rel="self" type="application/rss+xml" />

                <item>
          <title>Counting Array Items When perPage Present in Query</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2231068#post2231068</link>
          <description><![CDATA[<p>D'oh!</p>
<p>A sheepish thank you on that one.</p>]]></description>
          <pubDate>Mon, 24 Jun 2013 10:33:59 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2231068#post2231068</guid>
        </item>
                <item>
          <title>Counting Array Items When perPage Present in Query</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2231064#post2231064</link>
          <description><![CDATA[<p>Hi,</p>
<p>You can get the total number of records that would be returned, regardless of the "perPage" option by using the MetaData array.</p>
<p>For example:</p>
<p>$articleMetaData['totalRecords']</p>

<p>Hope this helps</p>
]]></description>
          <pubDate>Mon, 24 Jun 2013 10:19:03 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2231064#post2231064</guid>
        </item>
                <item>
          <title>Counting Array Items When perPage Present in Query</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2231045#post2231045</link>
          <description><![CDATA[<p>Hi  again,</p>
<p>Am trying to count() the elements returned in an array. However, the query uses the perPage =&gt; #, argument. This means that my count() will always be =&lt; the perPage value. </p>
<p>Short of running another query under a different name without that limit, does anyone know how to get the full count of the array elements? In this sense the perPage item acts more like a limit than I would have expected.</p>
<p>Thanks,</p>
<p>J.</p>]]></description>
          <pubDate>Fri, 21 Jun 2013 12:41:49 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2231045#post2231045</guid>
        </item>
              </channel>
    </rss>
  