Hi,
Please look at this:
<?php
print '
<form>
<td><input type="text" name="txt" maxlength="7" style="text-transform:uppercase"></td>
</form>
</html>';
if(isset($_POST['submit'])
{
$val=$_POST['txt'];
#header();
}
?>
my text box values gets erased after submit button. If i use header function:
error is
Warning: Cannot modify header information - headers already sent by (output started at C:\xampplite\htdocs\test.php:8) in C:\xampplite\htdocs\test.php on line 113
I want this format of my php coding. Please give me a solution to retain my text box values.