Hi there
I am experiencing a very very strange problem. The problem is when i submit a form and check the value for the submitted form variable; they are not showing at all...
Here is a small program below:-
///////////////////////////////////////
<?php
echo $_POST['txtName'] ;
echo $txtName ;
echo $act ;
?>
<html>
<head>
<body>
<form name="frmAdd" method="post" action="addnew.php?act=1">
<table >
<tr>
<td width="10%"><br> </td>
<td width="15%"><br><font face="Arial"><b>Singer Name</b></font></td>
<td width="32%"><br><input name="txtName" type="text" MAXLENGTH="30" SIZE="25"></td>
</tr>
<tr><td><input type="submit" name="btnAdd" value="Submit"></td>
</tr>
</table>
</form>
</body>
</html>
///////////////////////////////////////
In above programe...
it only prints the value for
echo $_POST['txtName'] ;
this prints nothing
echo $txtName ;
echo $act ;
I dono what's wrong... can anybuddy help me....?