title: Create a PHP function to display an HTML form?
body: <p>Instead of repeating myself with my form:</p>
  
  <pre><code>&lt;form name="addBlockList" action="" method="post"&gt;
  Välj blockeringsgrad: 
  &lt;select name="blockeringsgrad" style="font-size: 12px;"&gt;
  &lt;option value="1"&gt;1 - Bilder&lt;/option&gt;
  &lt;option value="2"&gt;2 - Bilder, Vän, Vägginlägg, PM&lt;/option&gt;
  &lt;option value="3"&gt;3 - Ingen tillgång till profil&lt;/option&gt;
  &lt;/select&gt;
  &lt;input type="hidden" name="uID" value="$id"&gt;
      &lt;br&gt;
      &lt;input type="submit" value="Lägg till"&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>I would like to just call a function and then it would show this form. Could you do that? And for the uID, could i have a parameter to the function?</p>