jo3c
08-05-2009, 02:24 AM
so it's like this
2 files 1 is called orderform.html the other one is called processorder.php
orderform.html
<html>
<form action="processorder.php" method=post>
INPUT
<input type="text" name="input" size=50 maxlength=40 >
</form>
</html>
processorder.php
<? php>
$input = $_POST['input'];
echo 'Display'.$input.'</td>';
<form action="orderform.html" method="get" target="top"><input type="submit" value="Edit"></form>
Once it clicked Edit on processorder.php and it will go back to orderform.html with "input" already filled in
How do i do that?
ANY help will be deeply appreciated!
2 files 1 is called orderform.html the other one is called processorder.php
orderform.html
<html>
<form action="processorder.php" method=post>
INPUT
<input type="text" name="input" size=50 maxlength=40 >
</form>
</html>
processorder.php
<? php>
$input = $_POST['input'];
echo 'Display'.$input.'</td>';
<form action="orderform.html" method="get" target="top"><input type="submit" value="Edit"></form>
Once it clicked Edit on processorder.php and it will go back to orderform.html with "input" already filled in
How do i do that?
ANY help will be deeply appreciated!