title: How To Clean up PHP Code
body: <p>So yesterday I was bored and created a flash card web application. I basically used an HTML landing page that has 10 different text areas that push the content entered from the text area into a PHP variable. Each text area had a name "questionone" "questiontwo" and so on. However, is there a cleaner and easier way to do this? </p>
  
  <pre><code>&lt;?php
  
  $questionone = $_POST['questionone'];
  $questiontwo = $_POST['questiontwo'];
  $questionthree = $_POST['questionthree'];
  $questionfour = $_POST['questionfour'];
  $questionfive = $_POST['questionfive'];
  $questionsix = $_POST['questionsix'];
  $questionseven = $_POST['questionseven'];
  $questioneight = $_POST['questioneight'];
  $questionnine = $_POST['questionnine'];
  $questionten = $_POST['questionten'];
  $answerone = $_POST['answerone'];
  $answertwo = $_POST['answertwo'];
  $answerthree = $_POST['answerthree'];
  $answerfour = $_POST['answerfour'];
  $answerfive = $_POST['answerfive'];
  $answersix = $_POST['answersix'];
  $answerseven = $_POST['answerseven'];
  $answereight = $_POST['answereight'];
  $answernine = $_POST['answernine'];
  $answerten = $_POST['answerten'];
  
  ?&gt;
  &lt;div class="two"&gt;&lt;p&gt;&lt;?php echo "$questionone"; ?&gt;&lt;/p&gt;&lt;/div&gt;
  &lt;div class="three"&gt;&lt;p&gt;&lt;?php echo "$questiontwo"; ?&gt;&lt;/p&gt;&lt;/div&gt;
  &lt;div class="two"&gt;&lt;p&gt;&lt;?php echo "$questionthree"; ?&gt;&lt;/p&gt;&lt;/div&gt;
  &lt;div class="three"&gt;&lt;p&gt;&lt;?php echo "$questionfour"; ?&gt;&lt;/p&gt;&lt;/div&gt;
  &lt;div class="two"&gt;&lt;p&gt;&lt;?php echo "$questionfive"; ?&gt;&lt;/p&gt;&lt;/div&gt;
  &lt;div class="three"&gt;&lt;p&gt;&lt;?php echo "$questionsix"; ?&gt;&lt;/p&gt;&lt;/div&gt;
  &lt;div class="two"&gt;&lt;p&gt;&lt;?php echo "$questionseven"; ?&gt;&lt;/p&gt;&lt;/div&gt;
  &lt;div class="three"&gt;&lt;p&gt;&lt;?php echo "$questioneight"; ?&gt;&lt;/p&gt;&lt;/div&gt;
  &lt;div class="two"&gt;&lt;p&gt;&lt;?php echo "$questionnine"; ?&gt;&lt;/p&gt;&lt;/div&gt;
  &lt;div class="three"&gt;&lt;p&gt;&lt;?php echo "$questionten"; ?&gt;&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>