Hi friend.I m faraz here for the first time. I m new in PHP and doing some basics. I m writing small scripts. I have prolem with $_POST varivle. I wanna get name from the form and print it on the screen. But my script iz not working. Plz check it and help me that whats wrong with it. Thanx
Here is the form code:
<form action="action.php" method="POST">
<table>
<tr>
<td>Name:</td>
<td><input type="text" name="name" id="name"/></td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="Submitbtn" id="Submit_btn" value="Send">
</td>
</tr>
</table>
</form>
And here is the action script:
<?php echo $_POST['name']; ?>
.Thnax and waiting 4 ur help