My current code is
<form action="post.php" method="post">
<input type="text" name="post"> <br />
<input type="text" name="uname" value="<?php echo $uname?>">
I need the $uname variable to become the text in the hidden input field so that I can post it to post.php, as it was posted to this page via the previous one, and needs to be carried on. Is there a better way I could do this, like post a variable directly, instead of through an input field?