<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>No showing when no record there</title>
        <link>https://interactivetools.com/forum/forum-posts.php?No-showing-when-no-record-there-74073</link>
        <description></description>
        <pubDate>Sun, 19 Jul 2026 15:29:50 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;No-showing-when-no-record-there-74073" rel="self" type="application/rss+xml" />

                <item>
          <title>No showing when no record there</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2219056#post2219056</link>
          <description><![CDATA[<p>Hi Jac,</p>
<p>Try this code for having the "Download" text not appear if there are no downloads:</p>
<p><code>&lt;?php foreach ($events_tradeshowsRecord['download'] as $index =&gt; $upload): ?&gt;<br />    &lt;?php if($upload['urlPath']) : ?&gt;<br />        &lt;b&gt;Download : &lt;/b&gt;&lt;a href="&lt;?php echo $upload['urlPath'] ?&gt;"&gt;&lt;?php echo htmlencode($upload['info1']) ?&gt;&lt;/a&gt;<br />    &lt;?php endif; ?&gt;<br />&lt;?php endforeach ?&gt;</code></p>
<p>Let me know if this works for you.</p>
<p>Thanks!</p>


]]></description>
          <pubDate>Fri, 04 Jan 2013 12:35:43 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2219056#post2219056</guid>
        </item>
                <item>
          <title>No showing when no record there</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2219050#post2219050</link>
          <description><![CDATA[<p>Hi,</p>
<p>This is my code for user downloading file.</p>
<blockquote>
<p>&lt;?php foreach ($events_tradeshowsRecord['download'] as $index =&gt; $upload): ?&gt;<br />&lt;b&gt;Download : &lt;/b&gt;&lt;a href="&lt;?php echo $upload['urlPath'] ?&gt;"&gt;&lt;?php echo htmlencode($upload['info1']) ?&gt;&lt;/a&gt;<br /> &lt;?php endforeach ?&gt;</p>
</blockquote>
<p>How to no show if I didn't upload file for user.</p>
<p>The "Download:" can disappear?</p>
<p>I hope only display the "Download:" when there is a file.</p>
<p>Hope you know what I mean.</p>
<p>Thanks!</p>
<p>Jac</p>




]]></description>
          <pubDate>Fri, 04 Jan 2013 09:35:05 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2219050#post2219050</guid>
        </item>
              </channel>
    </rss>
  