<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title></title>
        <link>https://interactivetools.com/forum/forum-search.php?k=user%3Ambareara</link>
        <description></description>
        <pubDate>Tue, 19 May 2026 13:39:47 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3Ambareara&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>count  multivalue field</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246150#post2246150</link>
          <description><![CDATA[<p>Daniel It works!! Thank you !</p>]]></description>
          <pubDate>Mon, 12 Sep 2022 14:41:56 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246150#post2246150</guid>
        </item>
                <item>
          <title>count  multivalue field</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246148#post2246148</link>
          <description><![CDATA[<pre class="language-markup"><code>       &lt;?php 
	  // mysql query
global $TABLE_PREFIX;
$query  = "select surname as surname, name as name, presenze_player as player,
count(presenze_player) as presenze
from cms_player LEFT JOIN cms_matches ON ( cms_player.num = cms_matches.presenze_player) group by surname order by presenze desc LIMIT 20";
$result = @mysql_query($query) or die("MySQL Error: ". htmlspecialchars(mysql_error()) . "\n");
$rows   = array();
while ($row = mysql_fetch_assoc($result)):
?&gt;
&lt;tr class="teams-match"&gt;
			&lt;td class="hometeam"&gt;

			&lt;?php echo $row['surname'] ?&gt; &amp;nbsp; &lt;?php echo $row['name'] ?&gt; &lt;/a&gt;&lt;!-- // .badge-wrapper --&gt;
		&lt;/td&gt;
        &lt;td class="result"&gt;&gt;&lt;?php echo $row['presenze'] ?&gt;&lt;/td&gt;
             &lt;td class="result"&gt;&lt;/td&gt;
                  &lt;td class="result"&gt;&lt;/td&gt;

		
		&lt;/tr&gt;&lt;!-- // .teams-match --&gt;
							&lt;/tbody&gt;
						&lt;/table&gt;&lt;!-- // .team-results-fixtures --&gt;
					&lt;/div&gt;&lt;!-- // .module-content --&gt;
				&lt;/div&gt;&lt;!-- // .module-border --&gt;
			&lt;/div&gt;
                 &lt;?php endwhile ?&gt;</code></pre>
<p>This is the code i have implemented. Of course it is wrong because it is a multivalue field... </p>]]></description>
          <pubDate>Sun, 11 Sep 2022 21:40:29 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246148#post2246148</guid>
        </item>
                <item>
          <title>count  multivalue field</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246147#post2246147</link>
          <description><![CDATA[<p>Thank you in advance for your help!</p>
<p>I have two tables: cms_player and cms_matches</p>
<p>in cms_matches i have a multivalue  field  called players </p>
<p>Now i want in my website i would create a list o player and count the number of matches played for each player. </p>
<p>PLAYERS | MATCHES PLAYED </p>
<p>Any suggestions about that?</p>
<p>Orazio</p>]]></description>
          <pubDate>Sun, 11 Sep 2022 21:05:14 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246147#post2246147</guid>
        </item>
                <item>
          <title>Sql help for soccer stats</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246120#post2246120</link>
          <description><![CDATA[<p>I've solved it searching on this forum</p>

<pre class="language-markup"><code>&lt;?php $matchesPlayed = mysql_count("matches", "players LIKE '%\t".$playersRecord['num']."\t%'") ;?&gt;&lt;?php echo $matches_played;?&gt;</code></pre>]]></description>
          <pubDate>Sat, 27 Aug 2022 16:04:53 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246120#post2246120</guid>
        </item>
                <item>
          <title>Sql help for soccer stats</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246119#post2246119</link>
          <description><![CDATA[<p>If it wasn't a multivalue field i could use this code:</p>

<pre class="language-php"><code>&lt;?php $matchesPlayed = mysql_count("matches", "players_matches = " . intval($playersRecord['num']) ) ;?&gt;&lt;?php echo $matchesPlayed;?&gt;</code></pre>]]></description>
          <pubDate>Sat, 27 Aug 2022 15:48:18 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246119#post2246119</guid>
        </item>
                <item>
          <title>Sql help for soccer stats</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246118#post2246118</link>
          <description><![CDATA[<p class="p1"><b>Goodmorning and thank you in advance for your help</b></p>
<p class="p3">I have two tables cms_players and cms_matches</p>
<p class="p3">in cms_matches i have a pillbox list field ‘yellow_card’ in which i select players that receive yellow card for each match (SELECT num, CONCAT(surname," ",name) FROM `&lt;?php echo $TABLE_PREFIX ?&gt;players` ORDER BY surname ASC) </p>
<p class="p3">Now, i have a page for each player and i would "count” number of yellow cards received from this player.</p>
<p class="p2">Could you help me?</p>]]></description>
          <pubDate>Sat, 27 Aug 2022 10:45:27 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246118#post2246118</guid>
        </item>
                <item>
          <title>Problem after upgrade</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245258#post2245258</link>
          <description><![CDATA[<p>Hi HAns</p>
<p>i think that m problem is the same discussed here <a href="https://www.interactivetools.com/forum/forum-posts.php?Local-time-vs-Mysql-time-causing-publishDate-issue-82356" rel="nofollow">https://www.interactivetools.com/forum/forum-posts.php?Local-time-vs-Mysql-time-causing-publishDate-issue-82356</a></p>
<p>There is a different between local zone time and mysql time</p>]]></description>
          <pubDate>Thu, 31 Dec 2020 05:09:27 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245258#post2245258</guid>
        </item>
                <item>
          <title>Problem after upgrade</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245253#post2245253</link>
          <description><![CDATA[<p>Yes, but what is wrong with publishdate? why sonce the upgrade it doesnt work correctly?</p>]]></description>
          <pubDate>Tue, 29 Dec 2020 13:23:13 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245253#post2245253</guid>
        </item>
                <item>
          <title>Problem after upgrade</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245251#post2245251</link>
          <description><![CDATA[<p>Probably is a problem with publishdate because articles appear if in publishdate field i select 28 december...</p>]]></description>
          <pubDate>Tue, 29 Dec 2020 12:40:29 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245251#post2245251</guid>
        </item>
                <item>
          <title>Problem after upgrade</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245250#post2245250</link>
          <description><![CDATA[<p>Hi and thank you in advance for your help.</p>
<p>I've upgraded to 3.54 version but i have a strange problem. </p>
<p>I can see on my website the old articles but if i create a new article i see only on backend... and not on website!</p>
<p>Could someone help me?</p>
<p>Orazio</p>]]></description>
          <pubDate>Tue, 29 Dec 2020 10:42:04 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245250#post2245250</guid>
        </item>
                <item>
          <title>Combined sections in date order</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245245#post2245245</link>
          <description><![CDATA[<p>Great solution! It works perfectly!</p>]]></description>
          <pubDate>Tue, 22 Dec 2020 22:10:36 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245245#post2245245</guid>
        </item>
                <item>
          <title>Combined sections in date order</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245243#post2245243</link>
          <description><![CDATA[<pre class="language-markup"><code>&lt;?php /* This is a PHP data file */ if (!@$LOADSTRUCT) { die("This is not a program file."); }
return array (
  '_detailPage' =&gt; '/attualita/articolo.php',
  '_disableAdd' =&gt; '0',
  '_disableErase' =&gt; '0',
  '_disableModify' =&gt; '0',
  '_disablePreview' =&gt; '0',
  '_disableView' =&gt; '1',
  '_filenameFields' =&gt; 'title',
  '_hideRecordsFromDisabledAccounts' =&gt; '0',
  '_indent' =&gt; '0',
  '_listPage' =&gt; '/attualita/index.php',
  '_maxRecords' =&gt; '',
  '_maxRecordsPerUser' =&gt; '',
  '_perPageDefault' =&gt; '25',
  '_previewPage' =&gt; '',
  '_requiredPlugins' =&gt; '',
  '_tableName' =&gt; 'attualita',
  'listPageFields' =&gt; 'dragSortOrder, title, publishDate, hits',
  'listPageOrder' =&gt; 'dragSortOrder DESC',
  'listPageSearchFields' =&gt; '_all_',
  'menuHidden' =&gt; '0',
  'menuName' =&gt; 'Attualità',
  'menuOrder' =&gt; '0000000005',
  'menuType' =&gt; 'multi',
  'num' =&gt; array(
    'order' =&gt; 1,
    'type' =&gt; 'none',
    'label' =&gt; 'Record Number',
    'isSystemField' =&gt; '1',
  ),
  'createdDate' =&gt; array(
    'order' =&gt; 2,
    'type' =&gt; 'none',
    'label' =&gt; 'Created',
    'isSystemField' =&gt; '1',
  ),
  'createdByUserNum' =&gt; array(
    'order' =&gt; 3,
    'type' =&gt; 'none',
    'label' =&gt; 'Created By',
    'isSystemField' =&gt; '1',
  ),
  'updatedDate' =&gt; array(
    'order' =&gt; 4,
    'type' =&gt; 'none',
    'label' =&gt; 'Last Updated',
    'isSystemField' =&gt; '1',
  ),
  'updatedByUserNum' =&gt; array(
    'order' =&gt; 5,
    'type' =&gt; 'none',
    'label' =&gt; 'Last Updated By',
    'isSystemField' =&gt; '1',
  ),
  'dragSortOrder' =&gt; array(
    'order' =&gt; 6,
    'label' =&gt; 'Order',
    'type' =&gt; 'none',
  ),
  'title' =&gt; array(
    'order' =&gt; 7,
    'label' =&gt; 'Title',
    'type' =&gt; 'textfield',
    'defaultValue' =&gt; '',
    'description' =&gt; '',
    'fieldWidth' =&gt; '',
    'isPasswordField' =&gt; '0',
    'isRequired' =&gt; '1',
    'isUnique' =&gt; '0',
    'minLength' =&gt; '',
    'maxLength' =&gt; '',
    'charsetRule' =&gt; '',
    'charset' =&gt; '',
  ),
  'categoria' =&gt; array(
    'order' =&gt; 8,
    'label' =&gt; 'Categoria',
    'type' =&gt; 'list',
    'defaultValue' =&gt; '',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'listType' =&gt; 'pulldown',
    'optionsType' =&gt; 'table',
    'optionsTablename' =&gt; 'categorie',
    'optionsValueField' =&gt; 'name',
    'optionsLabelField' =&gt; 'name',
  ),
  'data' =&gt; array(
    'order' =&gt; 9,
    'label' =&gt; 'Data',
    'type' =&gt; 'date',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'defaultDate' =&gt; '',
    'defaultDateString' =&gt; '2011-01-01 00:00:00',
    'showTime' =&gt; '0',
    'showSeconds' =&gt; '0',
    'use24HourFormat' =&gt; '0',
    'yearRangeStart' =&gt; '2009',
    'yearRangeEnd' =&gt; '2020',
  ),
  'publishDate' =&gt; array(
    'order' =&gt; 10,
    'label' =&gt; 'publishDate',
    'type' =&gt; 'date',
    'indexed' =&gt; '0',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'defaultDate' =&gt; '',
    'defaultDateString' =&gt; '2020-01-01 00:00:00',
    'showTime' =&gt; '1',
    'showSeconds' =&gt; '0',
    'use24HourFormat' =&gt; '0',
    'yearRangeStart' =&gt; '',
    'yearRangeEnd' =&gt; '',
  ),
  'autori' =&gt; array(
    'order' =&gt; 11,
    'label' =&gt; 'Autori',
    'type' =&gt; 'list',
    'defaultValue' =&gt; '',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'listType' =&gt; 'pulldown',
    'optionsType' =&gt; 'query',
    'optionsQuery' =&gt; 'SELECT num, CONCAT(cognome," ",nome)  FROM `&lt;?php echo $TABLE_PREFIX ?&gt;autori` ORDER BY cognome ASC ',
  ),
  'immagine' =&gt; array(
    'order' =&gt; 12,
    'label' =&gt; 'immagine',
    'type' =&gt; 'upload',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'allowedExtensions' =&gt; 'gif,jpg,jpeg,png,wmv,mov,swf,pdf',
    'checkMaxUploadSize' =&gt; '1',
    'maxUploadSizeKB' =&gt; '5120',
    'checkMaxUploads' =&gt; '1',
    'maxUploads' =&gt; '1',
    'resizeOversizedImages' =&gt; '0',
    'maxImageHeight' =&gt; '800',
    'maxImageWidth' =&gt; '600',
    'createThumbnails' =&gt; '1',
    'maxThumbnailHeight' =&gt; '150',
    'maxThumbnailWidth' =&gt; '150',
    'createThumbnails2' =&gt; '0',
    'maxThumbnailHeight2' =&gt; '150',
    'maxThumbnailWidth2' =&gt; '150',
    'createThumbnails3' =&gt; '0',
    'maxThumbnailHeight3' =&gt; '150',
    'maxThumbnailWidth3' =&gt; '150',
    'createThumbnails4' =&gt; '0',
    'maxThumbnailHeight4' =&gt; '150',
    'maxThumbnailWidth4' =&gt; '150',
    'useCustomUploadDir' =&gt; '0',
    'customUploadDir' =&gt; '',
    'customUploadUrl' =&gt; '',
    'infoField1' =&gt; 'Title',
    'infoField2' =&gt; 'Caption',
    'infoField3' =&gt; '',
    'infoField4' =&gt; '',
    'infoField5' =&gt; '',
  ),
  'sommario' =&gt; array(
    'order' =&gt; 13,
    'label' =&gt; 'Sommario',
    'type' =&gt; 'textbox',
    'defaultContent' =&gt; '',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'minLength' =&gt; '',
    'maxLength' =&gt; '',
    'fieldHeight' =&gt; '',
    'autoFormat' =&gt; '1',
  ),
  'content' =&gt; array(
    'order' =&gt; 14,
    'label' =&gt; 'Content',
    'type' =&gt; 'textbox',
    'defaultContent' =&gt; '',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'minLength' =&gt; '',
    'maxLength' =&gt; '',
    'fieldHeight' =&gt; '300',
    'autoFormat' =&gt; '1',
  ),
  'allegati' =&gt; array(
    'order' =&gt; 15,
    'label' =&gt; 'Allegati',
    'type' =&gt; 'upload',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'allowedExtensions' =&gt; 'gif,jpg,png,pdf',
    'checkMaxUploadSize' =&gt; '1',
    'maxUploadSizeKB' =&gt; '5120',
    'checkMaxUploads' =&gt; '1',
    'maxUploads' =&gt; '25',
    'resizeOversizedImages' =&gt; '1',
    'maxImageHeight' =&gt; '800',
    'maxImageWidth' =&gt; '600',
    'createThumbnails' =&gt; '1',
    'maxThumbnailHeight' =&gt; '150',
    'maxThumbnailWidth' =&gt; '150',
    'createThumbnails2' =&gt; '0',
    'maxThumbnailHeight2' =&gt; '150',
    'maxThumbnailWidth2' =&gt; '150',
    'createThumbnails3' =&gt; '0',
    'maxThumbnailHeight3' =&gt; '150',
    'maxThumbnailWidth3' =&gt; '150',
    'createThumbnails4' =&gt; '0',
    'maxThumbnailHeight4' =&gt; '150',
    'maxThumbnailWidth4' =&gt; '150',
    'useCustomUploadDir' =&gt; '0',
    'customUploadDir' =&gt; '',
    'customUploadUrl' =&gt; '',
    'infoField1' =&gt; 'Title',
    'infoField2' =&gt; 'didascalia',
    'infoField3' =&gt; '',
    'infoField4' =&gt; '',
    'infoField5' =&gt; '',
  ),
  'hits' =&gt; array(
    'order' =&gt; 16,
    'label' =&gt; 'hits',
    'type' =&gt; 'textfield',
    'isSystemField' =&gt; '1',
    'adminOnly' =&gt; '1',
    'defaultValue' =&gt; '',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'fieldWidth' =&gt; '',
    'isPasswordField' =&gt; '0',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'minLength' =&gt; '',
    'maxLength' =&gt; '',
    'charsetRule' =&gt; '',
    'charset' =&gt; '',
  ),
);
?&gt;</code></pre>]]></description>
          <pubDate>Tue, 22 Dec 2020 09:31:09 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245243#post2245243</guid>
        </item>
                <item>
          <title>Combined sections in date order</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245242#post2245242</link>
          <description><![CDATA[<pre class="language-markup"><code>&lt;?php /* This is a PHP data file */ if (!@$LOADSTRUCT) { die("This is not a program file."); }
return array (
  '_detailPage' =&gt; '/approfondimenti/articolo.php',
  '_disableAdd' =&gt; '0',
  '_disableErase' =&gt; '0',
  '_disableModify' =&gt; '0',
  '_disablePreview' =&gt; '0',
  '_disableView' =&gt; '1',
  '_filenameFields' =&gt; 'title',
  '_hideRecordsFromDisabledAccounts' =&gt; '0',
  '_indent' =&gt; '0',
  '_listPage' =&gt; 'index.php',
  '_maxRecords' =&gt; '',
  '_maxRecordsPerUser' =&gt; '',
  '_previewPage' =&gt; '',
  '_requiredPlugins' =&gt; '',
  '_tableName' =&gt; 'approfondimenti',
  'listPageFields' =&gt; 'dragSortOrder, title, data, hits',
  'listPageOrder' =&gt; 'dragSortOrder DESC',
  'listPageSearchFields' =&gt; '_all_',
  'menuHidden' =&gt; '0',
  'menuName' =&gt; 'Approfondimenti',
  'menuOrder' =&gt; '0000000004',
  'menuType' =&gt; 'multi',
  'num' =&gt; array(
    'order' =&gt; 1,
    'type' =&gt; 'none',
    'label' =&gt; 'Record Number',
    'isSystemField' =&gt; '1',
  ),
  'createdDate' =&gt; array(
    'order' =&gt; 2,
    'type' =&gt; 'none',
    'label' =&gt; 'Created',
    'isSystemField' =&gt; '1',
  ),
  'createdByUserNum' =&gt; array(
    'order' =&gt; 3,
    'type' =&gt; 'none',
    'label' =&gt; 'Created By',
    'isSystemField' =&gt; '1',
  ),
  'updatedDate' =&gt; array(
    'order' =&gt; 4,
    'type' =&gt; 'none',
    'label' =&gt; 'Last Updated',
    'isSystemField' =&gt; '1',
  ),
  'updatedByUserNum' =&gt; array(
    'order' =&gt; 5,
    'type' =&gt; 'none',
    'label' =&gt; 'Last Updated By',
    'isSystemField' =&gt; '1',
  ),
  'dragSortOrder' =&gt; array(
    'order' =&gt; 6,
    'label' =&gt; 'Order',
    'type' =&gt; 'none',
  ),
  'title' =&gt; array(
    'order' =&gt; 7,
    'label' =&gt; 'Title',
    'type' =&gt; 'textfield',
    'defaultValue' =&gt; '',
    'description' =&gt; '',
    'fieldWidth' =&gt; '',
    'isPasswordField' =&gt; '0',
    'isRequired' =&gt; '1',
    'isUnique' =&gt; '0',
    'minLength' =&gt; '',
    'maxLength' =&gt; '',
    'charsetRule' =&gt; '',
    'charset' =&gt; '',
  ),
  'data' =&gt; array(
    'order' =&gt; 8,
    'label' =&gt; 'Data ',
    'type' =&gt; 'date',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'defaultDate' =&gt; '',
    'defaultDateString' =&gt; '2011-01-01 00:00:00',
    'showTime' =&gt; '0',
    'showSeconds' =&gt; '0',
    'use24HourFormat' =&gt; '0',
    'yearRangeStart' =&gt; '2009',
    'yearRangeEnd' =&gt; '2025',
  ),
  'publishDate' =&gt; array(
    'order' =&gt; 9,
    'label' =&gt; 'PublishDate',
    'type' =&gt; 'date',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'defaultDate' =&gt; '',
    'defaultDateString' =&gt; '2013-01-01 00:00:00',
    'showTime' =&gt; '1',
    'showSeconds' =&gt; '0',
    'use24HourFormat' =&gt; '0',
    'yearRangeStart' =&gt; '2011',
    'yearRangeEnd' =&gt; '2030',
  ),
  'categoria' =&gt; array(
    'order' =&gt; 10,
    'label' =&gt; 'Categoria',
    'type' =&gt; 'list',
    'defaultValue' =&gt; '',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'listType' =&gt; 'pulldownMulti',
    'optionsType' =&gt; 'table',
    'optionsTablename' =&gt; 'categorie',
    'optionsValueField' =&gt; 'name',
    'optionsLabelField' =&gt; 'name',
  ),
  'autori' =&gt; array(
    'order' =&gt; 11,
    'label' =&gt; 'Autore',
    'type' =&gt; 'list',
    'defaultValue' =&gt; '',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'listType' =&gt; 'pulldown',
    'optionsType' =&gt; 'query',
    'optionsQuery' =&gt; 'SELECT num, CONCAT(cognome," ",nome)  FROM `&lt;?php echo $TABLE_PREFIX ?&gt;autori` ORDER BY cognome ASC ',
  ),
  'immagine_piccola' =&gt; array(
    'order' =&gt; 12,
    'label' =&gt; 'immagine piccola',
    'type' =&gt; 'textfield',
    'defaultValue' =&gt; '',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'fieldWidth' =&gt; '',
    'isPasswordField' =&gt; '0',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'minLength' =&gt; '',
    'maxLength' =&gt; '',
    'charsetRule' =&gt; '',
    'charset' =&gt; '',
  ),
  'sommario' =&gt; array(
    'order' =&gt; 13,
    'label' =&gt; 'Sommario',
    'type' =&gt; 'textbox',
    'defaultContent' =&gt; '',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'minLength' =&gt; '',
    'maxLength' =&gt; '',
    'fieldHeight' =&gt; '',
    'autoFormat' =&gt; '1',
  ),
  'content' =&gt; array(
    'order' =&gt; 14,
    'label' =&gt; 'Content',
    'type' =&gt; 'textbox',
    'defaultContent' =&gt; '',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'minLength' =&gt; '',
    'maxLength' =&gt; '',
    'fieldHeight' =&gt; '300',
    'autoFormat' =&gt; '1',
  ),
  'allegati' =&gt; array(
    'order' =&gt; 15,
    'label' =&gt; 'Allegati',
    'type' =&gt; 'upload',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'allowedExtensions' =&gt; 'pdf',
    'checkMaxUploadSize' =&gt; '1',
    'maxUploadSizeKB' =&gt; '5120',
    'checkMaxUploads' =&gt; '1',
    'maxUploads' =&gt; '25',
    'resizeOversizedImages' =&gt; '1',
    'maxImageHeight' =&gt; '800',
    'maxImageWidth' =&gt; '600',
    'createThumbnails' =&gt; '1',
    'maxThumbnailHeight' =&gt; '150',
    'maxThumbnailWidth' =&gt; '150',
    'createThumbnails2' =&gt; '0',
    'maxThumbnailHeight2' =&gt; '150',
    'maxThumbnailWidth2' =&gt; '150',
    'createThumbnails3' =&gt; '0',
    'maxThumbnailHeight3' =&gt; '150',
    'maxThumbnailWidth3' =&gt; '150',
    'createThumbnails4' =&gt; '0',
    'maxThumbnailHeight4' =&gt; '150',
    'maxThumbnailWidth4' =&gt; '150',
    'useCustomUploadDir' =&gt; '0',
    'customUploadDir' =&gt; '',
    'customUploadUrl' =&gt; '',
    'infoField1' =&gt; 'Title',
    'infoField2' =&gt; 'Caption',
    'infoField3' =&gt; '',
    'infoField4' =&gt; '',
    'infoField5' =&gt; '',
  ),
  'immagine' =&gt; array(
    'order' =&gt; 16,
    'label' =&gt; 'Immagine',
    'type' =&gt; 'upload',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'isRequired' =&gt; '0',
    'allowedExtensions' =&gt; 'gif,jpg,png',
    'checkMaxUploadSize' =&gt; '1',
    'maxUploadSizeKB' =&gt; '5120',
    'checkMaxUploads' =&gt; '1',
    'maxUploads' =&gt; '1',
    'resizeOversizedImages' =&gt; '1',
    'maxImageHeight' =&gt; '600',
    'maxImageWidth' =&gt; '800',
    'createThumbnails' =&gt; '1',
    'maxThumbnailHeight' =&gt; '150',
    'maxThumbnailWidth' =&gt; '150',
    'createThumbnails2' =&gt; '1',
    'maxThumbnailHeight2' =&gt; '400',
    'maxThumbnailWidth2' =&gt; '600',
    'createThumbnails3' =&gt; '1',
    'maxThumbnailHeight3' =&gt; '1365',
    'maxThumbnailWidth3' =&gt; '2048',
    'createThumbnails4' =&gt; '0',
    'maxThumbnailHeight4' =&gt; '150',
    'maxThumbnailWidth4' =&gt; '150',
    'useCustomUploadDir' =&gt; '0',
    'customUploadDir' =&gt; '',
    'customUploadUrl' =&gt; '',
    'infoField1' =&gt; 'Title',
    'infoField2' =&gt; 'Caption',
    'infoField3' =&gt; '',
    'infoField4' =&gt; '',
    'infoField5' =&gt; '',
  ),
  'hits' =&gt; array(
    'order' =&gt; 17,
    'label' =&gt; 'hits',
    'type' =&gt; 'textfield',
    'isSystemField' =&gt; '1',
    'defaultValue' =&gt; '',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'fieldWidth' =&gt; '',
    'isPasswordField' =&gt; '0',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'minLength' =&gt; '',
    'maxLength' =&gt; '',
    'charsetRule' =&gt; '',
    'charset' =&gt; '',
  ),
  'autore' =&gt; array(
    'order' =&gt; '18',
    'label' =&gt; 'autore',
    'type' =&gt; 'textfield',
    'isSystemField' =&gt; '1',
    'indexed' =&gt; '0',
    'defaultValue' =&gt; '',
    'fieldPrefix' =&gt; '',
    'description' =&gt; '',
    'fieldWidth' =&gt; '',
    'isPasswordField' =&gt; '0',
    'isRequired' =&gt; '0',
    'isUnique' =&gt; '0',
    'minLength' =&gt; '',
    'maxLength' =&gt; '',
    'charsetRule' =&gt; '',
    'charset' =&gt; '',
  ),
);
?&gt;</code></pre>]]></description>
          <pubDate>Tue, 22 Dec 2020 09:30:00 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245242#post2245242</guid>
        </item>
                <item>
          <title>Combined sections in date order</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245240#post2245240</link>
          <description><![CDATA[<p>Hi, and thank you in advance for your help. </p>
<p>I have two sections combined in one main page with this code... but i would put them in a date order... and i don't know how. Any suggestion?</p>
<p>// load records<br />list($approfondimentiRecords, $approfondimentiMetaData) = getRecords(array(<br />'tableName' =&gt; 'approfondimenti',<br />'perPage' =&gt; '15',<br />'leftJoin' =&gt; array( <br />// foreign table =&gt; local field (that matches num in foreign table) <br />'autori' =&gt; 'autori', <br />),<br />));<br /><br />list($attualitaRecords, $attualitaMetaData) = getRecords(array(<br />'tableName' =&gt; 'attualita',<br />'limit' =&gt; '5',<br />'leftJoin' =&gt; array( <br />// foreign table =&gt; local field (that matches num in foreign table) <br />'autori' =&gt; 'autori', <br />),<br />));</p>
<p>$allRecords = array_merge( <br />$attualitaRecords, <br />$approfondimentiRecords<br /><br />);</p>
<p>?&gt;</p>]]></description>
          <pubDate>Tue, 22 Dec 2020 04:07:01 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245240#post2245240</guid>
        </item>
                <item>
          <title>Got error 28 from storage engine </title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244959#post2244959</link>
          <description><![CDATA[<p>Thanks in advance for your help.</p>
<p>when i try to access to cmsAdmin i receive this error:</p>

<p><span>Notice: MySQL Error: Got error 28 from storage engine - in schema_functions.php on line 37 by getMySqlColsAndType() in /home/calciocatania/cmsAdmin/lib/common.php on line 278</span></p>

<p><span>????</span></p>

]]></description>
          <pubDate>Thu, 06 Aug 2020 04:28:44 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244959#post2244959</guid>
        </item>
                <item>
          <title>Field from url</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244857#post2244857</link>
          <description><![CDATA[<p>Thanks Damon and Jerry!</p>]]></description>
          <pubDate>Fri, 26 Jun 2020 08:09:32 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244857#post2244857</guid>
        </item>
                <item>
          <title>Field from url</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244840#post2244840</link>
          <description><![CDATA[<p>i'm generating it with this code &lt;a href="<a>https://www.****.com/locali/list.php?city=</a>&lt;?php echo htmlencode($record['city']) ?&gt;"&gt;</p>]]></description>
          <pubDate>Thu, 25 Jun 2020 07:42:26 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244840#post2244840</guid>
        </item>
                <item>
          <title>Field from url</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244838#post2244838</link>
          <description><![CDATA[<p>Hi and thank you in advance for your help</p>

<p>I have a url like this <a href="http://www.blabla/list.php?city=taormina" rel="nofollow">http://www.blabla/list.php?city=taormina</a> </p>

<p>I would have something like "There are 13 results in TAORMINA" recalling the field city (Taormina in this case) from url. Is it possible?</p>
<p>Orazio</p>]]></description>
          <pubDate>Thu, 25 Jun 2020 01:25:34 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244838#post2244838</guid>
        </item>
                <item>
          <title>Error in  whereRecordNumberInUrl(),</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244826#post2244826</link>
          <description><![CDATA[<p>Thank you Daniel this is the url</p>
<p><a>Https://www.*******.com/comprasiciliano/prodotto.php?2</a></p>

<p>or </p>
<p><span><a>Https://www.*******.com/</a></span>comprasiciliano/prodotto.php?Salsa-di-pomodoro-ciliegino-6</p>]]></description>
          <pubDate>Mon, 22 Jun 2020 16:08:29 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244826#post2244826</guid>
        </item>
                <item>
          <title>Error in  whereRecordNumberInUrl(),</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244815#post2244815</link>
          <description><![CDATA[<p>Hi and thanks in advance for your help</p>
<p>I have this code  but every page give me always the last item ... </p>
<pre class="language-markup"><code>// load record from 'locali'
list($prodottiRecords, $prodottiMetaData) = getRecords(array(
'tableName' =&gt; 'prodotti',
'where' =&gt;getNumberFromEndOfUrl(), 
'loadUploads' =&gt; true,
'leftJoin' =&gt; array( 
// foreign table =&gt; local field (that matches num in foreign table) 
'azienda' =&gt; 'azienda', 
),
));
$prodottiRecord = @$prodottiRecords[0]; // get first record</code></pre>]]></description>
          <pubDate>Sun, 21 Jun 2020 07:04:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244815#post2244815</guid>
        </item>
                <item>
          <title>If a record exist</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244501#post2244501</link>
          <description><![CDATA[<p>Thank You Jerry! But it doesn'work for me.</p>

<p>I have this code </p>

<p>list($reviewRecords, $reviewMetaData) = getRecords(array(<br />'tableName' =&gt; 'review',<br />'where' =&gt; 'restaurant = ' . getNumberFromEndOfUrl(), <br />'loadUploads' =&gt; true,<br />'allowSearch' =&gt; false,<br />'limit' =&gt; '1',<br />));<br />$reviewRecord = @$reviewRecords[0]; // get first record</p>

<p>So i would like to have <span>"no records found" 'where' =&gt; 'restaurant = ' . getNumberFromEndOfUrl(), </span></p>
<p>Any suggestions about this?</p>
]]></description>
          <pubDate>Tue, 18 Feb 2020 00:20:50 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244501#post2244501</guid>
        </item>
                <item>
          <title>If a record exist</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244496#post2244496</link>
          <description><![CDATA[<p>Sorry for my stupid question: i would like to have a certain behaviour if "reviewRecord" exists, and another behaviour if reviewRecord doesn't exist. How can i make this?</p>

<p>Thank you in advance for your help</p>
<p>Orazio </p>]]></description>
          <pubDate>Mon, 17 Feb 2020 10:37:08 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244496#post2244496</guid>
        </item>
                <item>
          <title>Question about GetlistLabels</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244421#post2244421</link>
          <description><![CDATA[<p>Hi Steve, it was very helpful for detailed page but it doesn.'t work on a list page.</p>
<p>Does it need some change on code?</p>
<p>Thank you in advance</p>
<p>Orazio </p>]]></description>
          <pubDate>Fri, 17 Jan 2020 06:32:31 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244421#post2244421</guid>
        </item>
                <item>
          <title>Help with LeftJoin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244400#post2244400</link>
          <description><![CDATA[<p>Thank you Daniel</p>
<p>Is it the same if i use this code?</p>

<pre class="language-markup"><code>// load record from 'restaurants'
  list($restaurantsRecords, $restaurantsMetaData) = getRecords(array(
    'tableName'   =&gt; 'restaurants',
    'where'       =&gt; whereRecordNumberInUrl(0),
    'loadUploads' =&gt; true,
    'allowSearch' =&gt; false,
    'limit'       =&gt; '1',
  ));
  $localiRecord = @$restaurantsRecords[0]; // get first record


 list($reviewRecords, $reviewMetaData) = getRecords(array(
    'tableName'   =&gt; 'review',
	'where' =&gt; 'restaurant = ' . getNumberFromEndOfUrl(), 
	  'loadUploads' =&gt; false,
    'allowSearch' =&gt; false,
	 'limit'       =&gt; '1',
  ));
  $reviewRecord = @$reviewRecords[0]; // get first record</code></pre>]]></description>
          <pubDate>Fri, 10 Jan 2020 07:48:37 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244400#post2244400</guid>
        </item>
                <item>
          <title>Help with LeftJoin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244394#post2244394</link>
          <description><![CDATA[<p>I have Two Tables: RESTAURANTS (num, name, city, address etc) REVIEW (num, restaurant, vote for service, vote for food etc)</p>
<p>REstaurants.num = Review.restaurant</p>
<p>Of course i have many restaurant, and non for only restaurants there is a review.</p>
<p>I would have a Restaurant page, and, in this page i would show a vote for service from review table. </p>
<p>I know that i need a leftjoin (i suppose) but i'm a little confused</p>

<p>Thank you in advance for some help :-)</p>]]></description>
          <pubDate>Tue, 07 Jan 2020 04:29:31 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244394#post2244394</guid>
        </item>
              </channel>
    </rss>
  