<?php echo isset($_POST['testname']) ? $_POST['testname'] : null ?>