What's wrong with this one?
<pre><code>&lt;html&gt;
&lt;head&gt;&lt;title&gt;cw5&lt;/title&gt;&lt;/head&gt;
&lt;body&gt; 
&lt;form method=post&gt;
Please enter 2 numbers: &lt;br&gt;
The first number: &lt;input type="text" name="num1"&gt;&lt;br&gt;
The second number: &lt;input type="text" name="num2"&gt;&lt;br&gt;
&lt;input type="submit" value="Submit"&gt;&lt;/form&gt;&lt;hr&gt;

&lt;?php 

   $num=$_POST["num1"] + $_POST["num2"];
   echo $_POST['num1']  .  "+"  .  $_POST['num2'] . "=" $num .  "&lt;br&gt;";
   $num=$_POST["num1"] - $_POST["num2"];
   echo $_POST['num1'] . "-" . $_POST['num2'] . "=" $num . "&lt;br&gt;";
   $num=$_POST["num1"] * $_POST["num2"];
   echo $_POST['num1'] . "x" . $_POST['num2'] . "=" $num .  "&lt;br&gt;";
   $num=$_POST["num1"] / $_POST["num2"];
   echo $_POST['num1'] . "/" . $_POST['num2'] . "=" $num .  "&lt;br&gt;";
   $num=$_POST["num1"] % $_POST["num2"];
   echo "the remains of" $_POST['num1'] . "/" . $_POST['num2'] . ;"is" $num;
?&gt;
&lt;hr&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Changed the sign &lt;> to &lt;>
Thanks!!!</p>
