title: Display text and/or image instead of database result
body: <p>As I am very new to MySQL and PHP, I ask for tips to solve the following.</p>
  
  <p>I like to show a result (<em>description</em>) based on a form request as <strong>text</strong> (by example '<em>read more</em>') or an image, instead of the url which is stored in the database.</p>
  
  <pre><code>&lt;?php
  function description_link($description) {
      return '&lt;a href="http://www.******/' . $description . '"&gt;' . $description . '&lt;/a&gt;';
  }
  ?&gt;
  
  &lt;DIV DATA-BINDING-ID="repeat" DATA-BINDING-REPEAT="{{allpubsExecutor.data.allpubs}}"&gt;
      &lt;SPAN DATA-BINDING-SHOW="{{description !=""}}"&gt;&lt;?php echo description_link('{{description}}'); ?&gt;&lt;/SPAN&gt;
  &lt;/DIV&gt;
  </code></pre>
  
  <p>I am using <strong>DMXzone Server Connect.</strong>
  Thanks in advance!</p>