Use This Code To Type and Print or echo input value In PHP
<form action="" method="post">
<input type="text" name="nm">
<input type="submit" name="sub">
</form>
<?php
if (isset($_POST['sub']))
{
echo $_POST['nm'];
}
?>
Use This Code To Type and Print or echo input value In PHP
<form action="" method="post">
<input type="text" name="nm">
<input type="submit" name="sub">
</form>
<?php
if (isset($_POST['sub']))
{
echo $_POST['nm'];
}
?>