I have variables $a and $location. However when I press the 'Submit' button the variable has gone out of scope. I can pass in in the variable from input box T2 but I can't manage to manage to do it to 'a' which is a regular variable. I added echo $b to debug it and I do get that output which verifies the conditional statement is true. 

```
<?php
[...]

$a = '5';
$location = 'home';

if(isset($_POST['submit'])) {
    $location=$_POST['T2'];
    echo $location;
    echo $a;
    $b = '6';
    echo $b;
    [...]
}
?>

<input type="text" name="T2" value="<?php echo $location; ?>">
<button type="submit" name="submit" value="create">Submit</button>

```