Code: Select all
textarea name="normaltxt" width="100" height="100" readonly="readonly">
<?php if (isset($_POST['submit'])){echo $pwd;} else {echo " ";} ?>
</textarea>
Code: Select all
<input type="text" name="textname" height="20" maxlength="25"
<?php if (isset($_POST['submit'])) {"value=$pwd";}?>
i need to print the password output to a textbox instead of textarea.is it right to put the coding within the value tag?