0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<!-- Microsoft Indic Language Input Tool embed code -->
<form method="post">
<input name="abc" type="text"></input><br/>
<input type="submit"/>
</form>
      <?php
 echo $_post['abc'];
  ?>
</body>
</html>

I have written this page and save it as index.php
but its not giving right result. can anybody help me, what is the problem

4
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by arctushar
0

hi Dear,
in form tag action is missing so put

<form method="POST" action="index.php">

hope it works for you

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.