title: How to access $_POST in Twig form?
body: <p>I'm trying to print the value of the input field 'gameTitle' in Twig.</p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;h1&gt;New game&lt;/h1&gt;
  &lt;form method="post" action=""&gt;
      &lt;label&gt;Game Title&lt;/label&gt;  
      &lt;input type="text" value="Monopoly" name="gameTitle"&gt;&lt;br&gt;
      &lt;input class="btn btn-success" name="submit" type="submit" value="Add game"&gt;
  &lt;/form&gt;
  {% if app.request.post('submit') %}
      {{ app.request('gameTitle')}}
  {% endif %}
  </code></pre>
  
  <p>I've also tried:</p>
  
  <pre><code>{{ app.request.parameter.post('gameTitle}
  </code></pre>
  
  <p>As a result I want to print this result: "gameTitle is Monopoly".</p>
  
  <p><strong>My question</strong>, how do I do the following PHP code in Twig?</p>
  
  <pre><code>&lt;?php
  echo "gameTitle is ".$_POST['gameTitle'];
  ?&gt;
  </code></pre>
  
  <p><strong>Update:</strong>
  - I'm not using Symfony, just Twig: <a href="http://twig.sensiolabs.org/" rel="nofollow noreferrer">http://twig.sensiolabs.org/</a>
  This does not work for me:</p>
  
  <pre><code>{{app.request.post('gameTitle')}}
  {{app.request.request.get('gameTitle')}}
  {{ app.request.request.get("gameTitle") }}
  gameTitle is {{ app.request.request.post('gameTitle') }}
  </code></pre>