<?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%3Ahiroko</link>
        <description></description>
        <pubDate>Tue, 14 Apr 2026 05:12:50 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3Ahiroko&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Newsletter Mailer Log Cleanup error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2248064#post2248064</link>
          <description><![CDATA[<p>Hi Dave,</p>
<p>Thank you very much! The errors stoped so I think its working.</p>
<p>Hiroko</p>]]></description>
          <pubDate>Mon, 21 Jul 2025 07:30:32 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2248064#post2248064</guid>
        </item>
                <item>
          <title>Newsletter Mailer Log Cleanup error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2248061#post2248061</link>
          <description><![CDATA[<p>Hi,</p>
<p>I am receiving errors from the Newsletter log cleanup.</p>
<p>The server cannot be upgraded for now, and I need to use CMSB <span>v3.61.</span></p>
<p><span>The Newsletter Builder is v3.06.</span></p>
<blockquote>
<p>Activity: Newsletter Mailer Log Cleanup</p>
<p>Summary: Error</p>
<p>Completed: 0</p>
<p>Function: nlb_mailer_log_cleanup</p>
<p>Output: <br />MySQL Error: Unknown column 'function' in 'where clause' in /home/xxx.com/public_html/cmsb/plugins/newsletterBuilder3_06/newsletterBuilder.php on line 550</p>
</blockquote>
<p>Above refers to this part on the newsletterBuilder.php, but it seem like it is not different from the other older versions or the newest version.</p>
<pre class="language-php"><code>// erase successful log messages with no output that are 10 minutes old or more
function nlb_mailer_log_cleanup() {

$deleteWhere = "`function` IN('nlb_mailer','nlb_mailer_log_cleanup') AND `output` = '' AND `completed` = 1 AND `createdDate` &lt;= (NOW() - INTERVAL 10 MINUTE)";
mysql_delete('_cron_log', null, $deleteWhere);

}</code></pre>
<p>What can I do to fix the error?</p>
<p>Thank you in advance.</p>
<p>Hiroko</p>]]></description>
          <pubDate>Sat, 19 Jul 2025 23:13:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2248061#post2248061</guid>
        </item>
                <item>
          <title>Cron error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247838#post2247838</link>
          <description><![CDATA[<p>Hi,</p>
<p>I just started a new site using the latest CMSB, setting the cron job on my server.</p>
<blockquote>
<p><span>Fatal error: Uncaught TypeError: is_dir(): Argument #1 ($filename) must be of type string, null given in /home/users/0/xxx</span><span>/web/maris/cmsb/lib/Server.php:188</span></p>
</blockquote>
<p>Somehow, it was sending me error mails, so I tried running manualy.</p>
<p>The last line seems to be an error.</p>
<blockquote>
<pre>cron_dispatcher_process(): Argument #2 ($cronLastRunTime) must be of type int, string given, called in /home/users/0/xxx/web/maris/cmsb/cron.php on line 115 in /home/users/0/xxx/web/maris/cmsb/cron.php on line 115</pre>
</blockquote>
<p>What can I do for this? </p>
<p>Thank you,</p>
<p>HIroko</p>]]></description>
          <pubDate>Sat, 11 Jan 2025 19:54:37 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247838#post2247838</guid>
        </item>
                <item>
          <title>Error report email sent every hour</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246856#post2246856</link>
          <description><![CDATA[<p>Hi,</p>
<p>I am receiving error report email from my CMSB every hour.</p>
<blockquote>
<p>One or more php errors have been reported on:<strong> www.tokyoartantiques.com</strong></p>
<p>Check the error log for complete list and more details:<br /><a href="https://www.tokyoartantiques.com/cmsAdmin/admin.php?menu=_error_log" rel="nofollow">https://www.tokyoartantiques.com/cmsAdmin/admin.php?menu=_error_log</a></p>
<p>Latest errors:</p>
<p><strong>*Note: Email notifications of new errors are only sent once an hour.</strong></p>
</blockquote>
<p>Sometimes there is an error, but most of the time there are no errors logged and I can't find out why the email were sent.</p>
<p>My other CMSBs does not send error report email every hour unless errors are actually logged.</p>
<p>I thought maybe it has something to do with Newsletter Builder plugin?</p>
<p>Does anyone know?</p>
<p>I am using <span>v3.58</span>.</p>
<p>Thank you,</p>
<p>Hiroko</p>]]></description>
          <pubDate>Sun, 03 Dec 2023 05:42:00 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246856#post2246856</guid>
        </item>
                <item>
          <title>Migrate blog data to wordpress</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246823#post2246823</link>
          <description><![CDATA[<p>Hi Dave,</p>
<p>Thank you for the reply.</p>
<p>I was able to export the blog data from CMSB, so will try looking for a CSV plugin.</p>
<p><span>&gt;Otherwise, it's just a process of mapping the data from one database structure to the other.</span></p>
<p><span>Ok, I understant. </span></p>
<p><span>If I can't import the data correctly with the WP plugin, I will ask for help here.</span></p>
<p><span>Thanks!</span></p>
<p><span>Hiroko</span></p>]]></description>
          <pubDate>Sat, 04 Nov 2023 18:09:41 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246823#post2246823</guid>
        </item>
                <item>
          <title>Migrate blog data to wordpress</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246807#post2246807</link>
          <description><![CDATA[<p>Hi, I need to migrate a client's blog data from CMSB to Wordpress.</p>
<p>Is it possible?</p>
<p>If it is, how can this be done? Could it be done by the paid support?</p>

<p>Thank you,</p>
<p>Hiroko</p>]]></description>
          <pubDate>Sat, 28 Oct 2023 08:00:16 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246807#post2246807</guid>
        </item>
                <item>
          <title>Error on Category Menu?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245176#post2245176</link>
          <description><![CDATA[<p>Hi,</p>
<p>I finally found out why my <span>"Get options from MYSQL query"</span> setting couldn't be saved.</p>
<p>The server had a WAF setting (Web Application Firewall) that detects access to SQL statements. I turned it off, and I was able to save.</p>
<p>There was also a WAF setting that detects '<span>kill, ftp, mail, ping, ls'</span> commands that will case 501 error on saving record for Newsletter Builder.</p>
<p>Sorry if I took your time. </p>
<p>In case someone has the same problem, you might want to check the server settings.</p>
<p>Best,</p>
<p>Hiroko</p>]]></description>
          <pubDate>Fri, 20 Nov 2020 00:34:35 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245176#post2245176</guid>
        </item>
                <item>
          <title>Error on Category Menu?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245164#post2245164</link>
          <description><![CDATA[<p>Hi,</p>
<p>I might be missing something, but I have a list field that I have been doing the same thing in older versions that don't seem to work now.</p>
<p>I'm using "Get options from MYSQL query" and when I use the WHERE query, I get "There was an error sending the request! (403 error)" and cannot save.</p>
<p>SELECT num, name<br />FROM `&lt;?php echo $TABLE_PREFIX ?&gt;json_ld_properties`<br />WHERE markup_type = '&lt;?php echo $ESCAPED_FILTER_VALUE;?&gt;type2'</p>
<p>When I get rid of the WHERE, it works.</p>
<p>Is there any changes I should make?</p>
<p>Thanks in advance,</p>
<p>Hiroko</p>]]></description>
          <pubDate>Wed, 11 Nov 2020 00:20:33 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245164#post2245164</guid>
        </item>
                <item>
          <title>Error on Category Menu?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245155#post2245155</link>
          <description><![CDATA[<p>Hi Dave,</p>
<p>Thanks! It works great now!</p>
<p>Hiroko</p>]]></description>
          <pubDate>Sat, 07 Nov 2020 03:53:47 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245155#post2245155</guid>
        </item>
                <item>
          <title>Error on Category Menu?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245146#post2245146</link>
          <description><![CDATA[<p>Hi,</p>
<p>I just uploaded this new version on a new server for a new project. (not as an update)</p>
<p>When I make a category menu, I am getting an error when I save (a new or existing record). I'm uploading the screenshot to this post.</p>
<p>This doesn't happen on the multi or single record. Can you look through this?</p>
<p>Thank you.</p>
<p>Hiroko</p>
<p>ps. <span>PHP ver. is 7.4.4, MySQL ver. is 5.7.31</span></p>]]></description>
          <pubDate>Mon, 02 Nov 2020 02:48:13 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245146#post2245146</guid>
        </item>
                <item>
          <title>Getting last record php warning</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244828#post2244828</link>
          <description><![CDATA[<p>Hi,</p>
<p>Thanks for the help.</p>
<p>I tried following Jerry's advice but couldn't figure out how to apply it to record view, not images, and have been working around, but suddenly, the error stopped when I typed in the first code again.</p>
<p>I guess I had something wrong somewhere.</p>
<p>Sorry for the fuss and thank you!</p>
<p>Best,</p>
<p>Hiroko</p>]]></description>
          <pubDate>Mon, 22 Jun 2020 19:48:15 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244828#post2244828</guid>
        </item>
                <item>
          <title>Getting last record php warning</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244812#post2244812</link>
          <description><![CDATA[<p>Hi,</p>
<p>I am trying to use end($myRecords) to get the 'num' of the last record listed in a viewer.</p>
<p>The result is fine, but I have a PHP warning that says </p>
<p>"<span>Warning: Use of undefined constant     - assumed '   ' (this will throw an Error in a future version of PHP)"</span></p>
<p>I just want to get rid of the comma on the last item.</p>
<pre class="language-markup"><code>&lt;?php // get last record num
	$lastRecord = end($itemRecords);
	$lastRecordNum = $lastRecord['num'];
?&gt;
&lt;?php foreach ($itemRecords as $record): ?&gt;
some codes
&lt;?php if ($lastRecordNum != $record['num']): ?&gt;,&lt;?php endif ?&gt;
&lt;?php endforeach ?&gt;</code></pre>
<p>Can someone tell me why I am getting this warning and how I could fix it?</p>
<p>Thank you,</p>
<p>Hiroko</p>]]></description>
          <pubDate>Sat, 20 Jun 2020 08:16:23 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244812#post2244812</guid>
        </item>
                <item>
          <title>Security question</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244791#post2244791</link>
          <description><![CDATA[<p>Hi Daniel,</p>
<p>Thank you for your help.</p>
<p>This is the code that was added to my .htaccess file.</p>
<pre class="language-php"><code># Block Open-Redirect
RewriteCond %{QUERY_STRING} (^|&amp;)l=([^&amp;]+)($|&amp;)
RewriteRule .* -[E=<a href="X_QUERY_REDIRECT%3A%252%5DRewriteCond">X_QUERY_REDIRECT:%2]RewriteCond</a> %{<a>ENV:X_QUERY_REDIRECT</a>} !^$
RewriteCond %{<a>ENV:X_QUERY_REDIRECT</a>} !^http(s)?://(www\.)?mysite.com.*
RewriteRule .* -[F]</code></pre>
<p><span>The tracking link is a nice feature, but I guess I will use the code you have suggested.</span></p>
<p><span>Thanks!</span></p>
<p><span>Best,</span></p>
<p><span>Hiroko</span></p>]]></description>
          <pubDate>Thu, 11 Jun 2020 21:35:56 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244791#post2244791</guid>
        </item>
                <item>
          <title>Security question</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244787#post2244787</link>
          <description><![CDATA[<p>Hi Daniel,</p>
<p>Thanks for the response.</p>
<p>The manage page was just about the same as the PHP generator with some styles. And yes, I should have used ReCaptcha in the first place and that was not smart. I had someone to look through my server and there was no trace of falsification, which I was very relieved.</p>
<p>So, as you mentioned about the <span>Cross-Site Scripting attacks, this issue that anyone can make a link by using your domain plus the "l" parameter, could be a vulnerability to our sites. </span><span>I guess the first step is to not let them know about the "l" parameter and maybe that was possible by using the ReCaptcha. </span><span>When the spam registered the newsletter, they received the confirmation mail with links where the "l" parameter is used. (or is it popular to use l parameter?)</span></p>
<p><span>I had the .htaccess file rewritten so that any external site on the  "l" parameter will be rejected. </span><span>This may cause effect on some function, and it is a temporary measure, but for now, everything on my site seems ok.</span></p>
<p><span>In case anyone in the future experience the same issue, I can share the code, but I can't guarantee.</span></p>
<p><span>Best,</span></p>
<p><span>Hiroko</span></p>]]></description>
          <pubDate>Wed, 10 Jun 2020 18:09:53 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244787#post2244787</guid>
        </item>
                <item>
          <title>Security question</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244779#post2244779</link>
          <description><![CDATA[<p>Hi,</p>
<p>One of my client's site's Newsletter builder manage page has been hacked (not sure what exactly happened).</p>
<p>There was a number of spam registration on the newsletter and I unconfirmed those registerations.</p>
<p>Yesturday, the server company contacted me that the manage page is being used to transfer URL to a f<span>raudulent website</span></p>
<p>I deleted the manage page, but I would like to know if there is any way to protect my files from something like this.</p>
<p>The url that the server company sent me was like this <a href="https://www.xxx.com/manage.php?l=http://fraudulentsite.com" rel="nofollow">https://www.xxx.com/manage.php?l=http://fraudulentsite.com</a></p>
<p>there is an URL attached after the question mark.</p>
<p>I looked into the file and other files, but couldn't find anything suspicious.</p>
<p>If anyone have information about something like this, please let me know.</p>

<p>Thank you,</p>
<p>Hiroko</p>]]></description>
          <pubDate>Mon, 08 Jun 2020 19:44:51 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244779#post2244779</guid>
        </item>
                <item>
          <title>PHP version server update from 5.3 to 7.2</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244036#post2244036</link>
          <description><![CDATA[<p>Hi Jerry,</p>
<p>Thank you for the information!</p>
<p>Your CMSB Cookbook has always been a great help for me.</p>
<p>So if the server company cannot upgrade php to 5.6, then I'll just have to make a maintenance index page and work on the dramatic update.</p>
<p>Thank you again. I'll talk to the server company.</p>
<p>Hiroko</p>
]]></description>
          <pubDate>Mon, 02 Sep 2019 06:22:19 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244036#post2244036</guid>
        </item>
                <item>
          <title>PHP version server update from 5.3 to 7.2</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244033#post2244033</link>
          <description><![CDATA[<p>Hi,</p>
<p>One of my client is using a server with php 5.3 and the server company will be updating it to 7.2 next month.</p>
<p>The CMSB I used is ver. 2.65 but the server will be updated to 7.2 from 5.3 so I need to update it before the php update is done or the website will not work.</p>
<p>Would anyone know which ver of CMSB works on php 7.2 and still be working with php 5.3?</p>
<p>If so, can I download that ver.?</p>
<p>I've tried CMSB ver. 3.05 when I first worked on the website, which didn't work and had to downgrade to 2.65.</p>
<p>Thank you.</p>
<p>Hiroko</p>]]></description>
          <pubDate>Mon, 02 Sep 2019 02:32:09 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244033#post2244033</guid>
        </item>
                <item>
          <title>Spambot email plugin error &amp; Create Record Here plugin.</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242965#post2242965</link>
          <description><![CDATA[<p>Hi Daniel,</p>
<p>Thank you for the update. It works fine now!</p>
<p>Hiroko</p>]]></description>
          <pubDate>Wed, 30 Jan 2019 00:28:40 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242965#post2242965</guid>
        </item>
                <item>
          <title>Spambot email plugin error &amp; Create Record Here plugin.</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242895#post2242895</link>
          <description><![CDATA[<p>Hi Daniel,</p>
<p>Thanks for your reply. I'm very sorry for the late response.</p>
<p>And thank you Helmut for reporting.</p>
<p>This is the error I get (raw log data) when I change to php 7.2.</p>
<blockquote>
<p><span>Array<br />(<br /> [logType] =&gt; runtime<br /> [errno] =&gt; 8192<br /> [errstr] =&gt; Function create_function() is deprecated<br /> [errfile] =&gt; /home/xx.com/public_html/cmsAdmin/plugins/spambotEmailProtector2_01/spambotEmailProtector.php<br /> [errline] =&gt; 35<br /> [errcontext] =&gt; *** in symbol table field above ***<br />)<br /></span></p>
</blockquote>
<p>And this is from the <span>Symbol Table</span></p>
<blockquote>
<p>Array<br />(<br /> [content] =&gt; Event Detail<br /> [EMAIL_ONLY] =&gt; ([\w\-\.]+@[\w\-\.]+\.[A-Za-z]{2,8})<br /> [mailtoRegexp] =&gt; (&lt;[^&gt;]*?['"])mailto:([\w\-\.]+@[\w\-\.]+\.[A-Za-z]{2,8})(['"][^&gt;]*&gt;)<br /> [php_errormsg] =&gt; Undefined index: SEP_DISABLED<br />)</p>
</blockquote>
<p>For the Create Record Here Plugin, I think I was wrong about it. I updated php version again to 7.2 for testing and it was working.</p>
<p>Thank you for your help. </p>
<p>Hiroko</p>]]></description>
          <pubDate>Sat, 12 Jan 2019 11:47:31 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242895#post2242895</guid>
        </item>
                <item>
          <title>Spambot email plugin error &amp; Create Record Here plugin.</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242788#post2242788</link>
          <description><![CDATA[<p>Hi again,</p>
<p>I've noticed that the Create Record Here plugin v1.02 is also not working, meaning the "create here" link doesn't show up on the cms.</p>
<p>I downgraded my server's php version to 7.1 and the spambot email plugin stop getting errors, so the problem seems to be the php version.</p>
<p>Thanks again,</p>
<p>Hiroko</p>]]></description>
          <pubDate>Sat, 22 Dec 2018 23:43:47 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242788#post2242788</guid>
        </item>
                <item>
          <title>Spambot email plugin error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242787#post2242787</link>
          <description><![CDATA[<p>Hello,</p>
<p>Thanks to all the members for the great update on v3.5!</p>
<p>I just updated my cmsb to v3.5 and updated php to 7.2 on my server. </p>
<p>One problem for now. I'm getting errors from the spambot email pulgin. </p>
<pre class="language-php"><code>#0 _errorlog_logErrorRecord() called at [/public_html/cmsb/lib/errorlog_functions.php:64]
#1 _errorlog_catchRuntimeErrors() called at [/public_html/cmsb/plugins/spambotEmailProtector2_01/spambotEmailProtector.php:35]
#2 SEP_replaceEmails() called at [/public_html/index.php:95]

</code></pre>
<p>Is there any update I should work on?</p>
<p>Thanks beforehand.</p>
<p>Hiroko</p>]]></description>
          <pubDate>Sat, 22 Dec 2018 07:38:14 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242787#post2242787</guid>
        </item>
                <item>
          <title>Error log: is this website hack?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242316#post2242316</link>
          <description><![CDATA[<p>Hi Dave,</p>
<p>Thank you for your reply and advice!</p>
<p>Hiroko</p>]]></description>
          <pubDate>Fri, 20 Jul 2018 01:59:41 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242316#post2242316</guid>
        </item>
                <item>
          <title>Error log: is this website hack?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242304#post2242304</link>
          <description><![CDATA[<p>Hi,</p>
<p>I have some error logs that I am not familiar and thought maybe it is being hacked. </p>
<p>Is anyone familiar with this error?</p>
<p><a href="https://www.xxx.com/index.php?option=com_jce&amp;task=plugin&amp;plugin=imgmanager&amp;file=imgmanager&amp;method=form%22" rel="nofollow">https://www.xxx.com/index.php?option=com_jce&amp;task=plugin&amp;plugin=imgmanager&amp;file=imgmanager&amp;method=form%22</a></p>
<p><a href="https://www.xxx.com/index.php?option=com_b2jcontact&amp;view=loader&amp;type=uploader&amp;owner=component&amp;bid=1&amp;id=138&amp;Itemid=138&amp;qqfile=/../../izoc.php" rel="nofollow">https://www.xxx.com/index.php?option=com_b2jcontact&amp;view=loader&amp;type=uploader&amp;owner=component&amp;bid=1&amp;id=138&amp;Itemid=138&amp;qqfile=/../../izoc.php</a></p>
<p>I am thinking of purchasing the plugin 'Exploit scanner', but it hasn't been updated since 2014.</p>
<p>Will it still be useful?</p>]]></description>
          <pubDate>Wed, 18 Jul 2018 10:36:30 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242304#post2242304</guid>
        </item>
                <item>
          <title>Skip duplicate records</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242211#post2242211</link>
          <description><![CDATA[<p>Hi Leo,</p>
<p>Thanks for the reply and sorry for the late response.</p>
<p>I couldn't figure out how to get the related records from a multi value field for a while, but looking through the forum, I am finally getting the result I need.</p>
<p>I tried some options, and this post seemed to fit:</p>
<p><a href="https://www.interactivetools.com/forum/forum-posts.php?Display-select-uploads-from-one-category-on-another-category-page-using-pulldown-multi-value-list-81068" rel="nofollow">https://www.interactivetools.com/forum/forum-posts.php?Display-select-uploads-from-one-category-on-another-category-page-using-pulldown-multi-value-list-81068</a></p>
<p>In my case the code became like this</p>
<p><code>if(is_array(@$detailRecord['this_artist:values'])){<br />    $arrayCounter = count($detailRecord['this_artist:values']);<br />    foreach($detailRecord['this_artist:values'] as $key =&gt; $filterItem){<br />        $searchString .= "this_artist LIKE '%\t$filterItem\t%'";<br />        if(($key+1) != $arrayCounter){<br />            $searchString .= " OR ";<br />        }<br />    }  <br />}<br /></code></p>
<p>this worked except the viewer shows all records when there is nothing selected on the multi value.</p>
<p>So, I used a non-existing num to avoid it. ( I am sure there is a better solution to this )</p>
<p><code>$searchString = '';<br />if(!@$detailRecord['this_artist']){<br />    $searchString .= "this_artist LIKE '%\t0\t%'";<br />}<br />if(is_array(@$detailRecord['this_artist:values'])){<br />    $arrayCounter = count($detailRecord['this_artist:values']);<br />    foreach($detailRecord['this_artist:values'] as $key =&gt; $filterItem){<br />        $searchString .= "this_artist LIKE '%\t$filterItem\t%'";<br />        if(($key+1) != $arrayCounter){<br />            $searchString .= " OR ";<br />        }<br />    }  <br />}</code></p>
<p>Will this cause any problem?</p>]]></description>
          <pubDate>Wed, 20 Jun 2018 07:25:12 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242211#post2242211</guid>
        </item>
                <item>
          <title>Skip duplicate records</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242171#post2242171</link>
          <description><![CDATA[<p>Hi,</p>
<p>I have an exhibition detail viewer page where the participating artists are listed. In this page, I have a list of related exhibition but I am having a problem with duplicate records listed when the artists are participating in the same exhibitions.</p>
<p>This is the listing part of the detail page.</p>
<p><code>&lt;!--Related exhibitions--&gt;<br />        &lt;div class="l-column l-row u-paddingTop--half"&gt;<br />            &lt;?php $fieldValues = explode("\t",trim($detailRecord['this_artist'],"\t")); ?&gt;<br />            &lt;?php foreach($fieldValues as $artistNum): ?&gt;<br />            &lt;?php foreach ($eventRecords as $record): ?&gt;<br />            &lt;?php $fieldValues2 = explode("\t",trim($record['this_artist'],"\t")); ?&gt;<br />            &lt;?php foreach($fieldValues2 as $artistNum2): ?&gt;<br />            &lt;?php if ($artistNum2 == $artistNum &amp;&amp; ($artistNum &gt; 0)): ?&gt;<br />            &lt;div class="EntryPanel l-flexAuto-4column"&gt;<br />                &lt;div class="EntryPanel--vertical"&gt;<br />                    &lt;a href="/en/&lt;?php echo $record['permalink'] ?&gt;/" title="&lt;?php echo $record['title'] ?&gt;"&gt;<br />                        &lt;div class="EntryPanel__sub EntryPanel__sub--medium imgLiquidFill imgLiquid"&gt;<br />                            &lt;?php foreach ($record['image'] as $index =&gt; $upload): ?&gt;<br />                            &lt;?php if ($index &gt;= 1) { continue; } // limit uploads shown ?&gt;<br />                            &lt;img src="&lt;?php echo htmlencode($upload['thumbUrlPath2']) ?&gt;" alt="&lt;?php echo $record['num'] ?&gt;&lt;?php echo $record['title'] ?&gt;"/&gt;<br />                            &lt;?php endforeach ?&gt;<br />                        &lt;/div&gt;<br />                    &lt;/a&gt;<br />                    &lt;div class="EntryPanel__main"&gt;<br />                        &lt;a href="/en/&lt;?php echo $record['permalink'] ?&gt;/" title="&lt;?php echo $record['title'] ?&gt;"&gt;<br />                            &lt;h3 class="EntryPanel__head"&gt;<br />                                &lt;?php echo $record['title'] ?&gt;<br />                            &lt;/h3&gt;<br />                        &lt;/a&gt;<br />                    &lt;/div&gt;<br />                &lt;/div&gt;<br />            &lt;/div&gt;<br />            &lt;?php endif ?&gt;<br />            &lt;?php endforeach ?&gt;<br />            &lt;?php endforeach ?&gt;<br />            &lt;?php endforeach ?&gt;<br />            &lt;!--/Related Exhibitions--&gt;</code></p>
<p>Is there a way to skip the same records?</p>
<p>This is the example of the page. The list is at the bottom page.</p>
<p>Thank you in advance.</p>
<p>Hiroko</p>]]></description>
          <pubDate>Thu, 07 Jun 2018 08:05:25 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242171#post2242171</guid>
        </item>
              </channel>
    </rss>
  