title: if size of array is greater than 1
body: <p>I have an end of a link set, but I only want a portion to be used UNLESS the size of an array is greater than 1.</p>
  
  <pre><code>$closeLink='&lt;/a&gt;'.'&lt;a target=&amp;quot;_blank&amp;quot; href="'.implode('" rel="lightbox['.
  $post-&gt;ID.']" class="single_image" title="'.$lightHtml.'&lt;br /&gt;&amp;lt;a href=&amp;quot;'.
  $desclinkurl.'&amp;quot;&amp;gt;'.$desclink.'&amp;lt;/a&amp;gt;"&gt;&lt;/a&gt;&lt;a href="',$custgalarr).'"
  rel="lightbox['.$post-&gt;ID.']" class="single_image" title="'.$lightHtml.'&lt;br /&gt;&amp;lt;a 
  target=&amp;quot;_blank&amp;quot; href=&amp;quot;'.$desclinkurl.'&amp;quot;&amp;gt;'.$desclink.'&amp;lt;/
  a&amp;gt;"&gt;&lt;/a&gt;';
  </code></pre>
  
  <p>So everything after the part shown isolated below needs to only show if the size of the array $custgalarr is greater than 1:</p>
  
  <pre><code>$closeLink='&lt;/a&gt;'
  </code></pre>
  
  <p>I figure I need to use something like this after the closing a tag</p>
  
  <pre><code>if (sizeof($custgalarr) &gt; 1){
  </code></pre>
  
  <p>Help me out, thanks in advance!</p>