Q:

Why can i not echo out these variables? 

The following code allows the user to insert 7 numbers and when $submit is clicked the mean average of those numbers is calculated and printed onscreen. 
However the values associated to $upn and $project variables (which are also typed in by the user) are not being printed onscreen. 
I had this working earlier and its such an easy function but cant figure out why this is not echoing out the $upn and $project values. 
Help would be much appreciated! 
Apologies but i cannot post images so code is pasted below.  Thank you. 
{<? php
$num1 = $_POST['num1'];
$num2 = $_POST['num2'];
$num3 = $_POST['num3'];
$num4 = $_POST['num4'];
$num5 = $_POST['num5'];
$num6 = $_POST['num6'];
$num7 = $_POST['num7'];

$upn = $_POST['pupil'];
$project = $_POST['project'];

$submit = $_POST['submit'];

if ($submit) {

$sum = ($num1 + $num2 + $num3 + $num4 + $num5 + $num6 + $num7) / 7;

echo ("$upn" . " $project" . " $sum ");
    }

? >

<html>
<head>
    <link rel="stylesheet" type="text/css" href="style.css">
    <meta charset="UTF-8">
</head>
<body>
    <div id="wrapper">
        <center>             
            <div class="front">
            <h2>Project Assessment</h2>
                    <table class="table" border="0">
                        <tr>
                            <td><span>Enter the correct UPN of the pupil whos project you have     marked.</span></td>
                            <td><input class="input username" type="text" name="pupil"     placeholder="UPN"/></td>
                        </tr>
                        <tr>
                            <td><span>Enter the correct Project Code</span></td>
                            <td><input class="input username" type="text" name="project" placeholder="Project"/></td>
                        </tr>
                    </table>
                        </div>

            <form name="assess-form" class="assess-form" action="calc2.php" method="post">            
                <div class="header">
                    </br><hr/></br>
                    <span>Grade all topic criteria and retrieve the overall project grade.</span>    </br>
                </div>
                <div class="content">
                    <table class="table" border="0">
                        <tr>
                            <td>Research:</td>
                            <td><input class="input username" type="text" name="num1"/></td>
                            <td>Specification:</td>
                            <td><input class="input username" type="text" name="num2"/></td>
                            <td>Ideas:</td>
                            <td><input class="input username" type="text" name="num3"/></td>
                            <td>Development: <input class="input username" type="text"            name="num4"/></td>
                        </tr>
                        <tr>
                            <td>Planning:</td>
                            <td><input class="input username" type="text" name="num5"/></td>
                            <td>Implementation:</td>
                            <td><input class="input username" type="text" name="num6"/></td>
                            <td>Evaluation:</td>
                            <td><input class="input username" type="text" name="num7"/></td>
                            <td><div class="footer"><input type="submit" name='submit' value="Get     Overall Mark" class="button" /></div></td>
                        </tr>
                    </table>
                    </br><hr/></br>
                </div>
                </div> <!--  end wrapper -->
            </form><br/>
            </body>
            </html>}

A:

You UPN and Project textboxes are not inside the <form> tag.  Place them inside form tag.