I am fairly new to PHP, and I know how to get the information if in another PHP file if I use it as the action. But I want to get the information on the same page as the form. Is that possible?
For example:
<form action="" method="post">
<input type="text" name="t"/>
</form>
<?php
//how to get the information in here?
?>
Thanks