title: Can't see what's wrong with my Classic ASP code
body: <p>I can't seem to find the bug in the code. It's meant to output the times table, of a variable taken from the user, from an HTML form. I get the 500 programming error.</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;My Times Tables&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;h1&gt;Times Table: &lt;/h1&gt;
      &lt;%
          isValid = True
          mult = request.form("multiple")
          if not IsNumeric(mult) then
              isValid = False
              response.write("Not a number. Please try again...")
          end if
          if mult &gt; 12 And mult &lt; 1 then
              isValid = False
              response.write("Out of range. Please try again...")
          end if
          if isValid
          %&gt;
              &lt;table style="width:75%"&gt;
              &lt;%
              For i = 1 to 12
                  %&gt;
                  &lt;tr&gt;
                      &lt;td&gt;&lt;%= i %&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;%= mult %&gt;&lt;/td&gt;
                      &lt;th&gt;&lt;%= (i * mult) %&gt;&lt;/th&gt;
                  &lt;/tr&gt;
                  &lt;%
              Next
          end if
      %&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>