View Single Post
  #2  
Old 08-12-2006, 10:10 AM
valentino valentino is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
valentino is on a distinguished road
Default

Try this code

<?php
echo $_POST[test];
echo "<br>";
?>

<html>
<head>
<title></title>
</head>
<body>
<form method="POST" action="./test.php">
<input type="text" name="test">
<input type="submit" value="Get It!">
</form>
</body>
</html>

<?php echo $_POST[test]; echo "<br>";?> <html> <head> <title></title> </head> <body> <form method="POST" action="./test.php"> <input type="text" name="test"> <input type="submit" value="Get It!"> </form> </body></html>

Also It is best to use full php tags (<?php) in -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - POST question...
View Single Post
  #2  
Old 08-12-2006, 10:10 AM
valentino valentino is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
valentino is on a distinguished road
Default

Try this code

<?php
echo $_POST[test];
echo "<br>";
?>

<html>
<head>
<title></title>
</head>
<body>
<form method="POST" action="./test.php">
<input type="text" name="test">
<input type="submit" value="Get It!">
</form>
</body>
</html>

<?php echo $_POST[test]; echo "<br>";?> <html> <head> <title></title> </head> <body> <form method="POST" action="./test.php"> <input type="text" name="test"> <input type="submit" value="Get It!"> </form> </body></html>

Also It is best to use full php tags (<?php) in -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote