title: PHP Times Table creation
body: <p>Hi I'm trying to figure out some code in PHP, I've been given the task to make a basic times table input, I have that part figured out. I have also to reverse the order the table is being output. So instead of the example running from 1 x 10=10 down I have to reverse that order from 10 x 10=100 down instead. This part I can't figure out.<a href="https://i.stack.imgur.com/W0r1s.jpg" rel="nofollow noreferrer">output</a></p>
  <pre><code>if (isset($_POST['calculate'])) {
  
  $start = $_POST['startNumber'];
  $end = $_POST['endNumber'];
  $times = $_POST['times'];
  
  for($start; $start &lt;= $end; $start++) {
  
      $answer = $start * $times;
      echo $start, &quot; x &quot;, $times, &quot; = &quot;, $answer, &quot;&lt;BR&gt;&quot;;
      }
  }
  </code></pre>