title: How to add some php function inside html content
body: <p>is it possible to do some function inside html content ?</p>
  
  <p>here my code :</p>
  
  <pre><code>$parts = explode(',', 'option 1,option 2,option 3');
  echo "&lt;div class='form-group'&gt;
          &lt;div class='col-sm-12'&gt;
            &lt;label&gt;label&lt;/label&gt;
            &lt;select class='form-control' style='width: 100%;' name='select' placeholder='select'&gt;
            foreach($parts as $index=&gt;$key) {
                echo '&lt;option&gt;'.$key .'&lt;/option&gt;';
            }
            &lt;/select&gt;
          &lt;/div&gt;
        &lt;/div&gt;";
  </code></pre>