shahjee
05-08-2003, 09:12 AM
I am facing some problem in receiving HTML variable on PHP page.
when i submit the HTML data on PHP page and display it using echo method it display blank data. Can anyone explain me what mistake i am doing. I am using following code please review
<!--Test.html-->
<html>
<body>
<form action="display.php">
<input type="text" name="nm">
<input type="submit" value="Submit">
</form>
</body>
</html>
/*display.php*/
<?php
echo($nm);
?>
when i submit the HTML data on PHP page and display it using echo method it display blank data. Can anyone explain me what mistake i am doing. I am using following code please review
<!--Test.html-->
<html>
<body>
<form action="display.php">
<input type="text" name="nm">
<input type="submit" value="Submit">
</form>
</body>
</html>
/*display.php*/
<?php
echo($nm);
?>