superman wrote:how can i show the value in the input text box when i click edit from the previous form? so i can edit the value. thanx a lot.
Presuming you've stored value somewhere, then the user clicks on Edit you need to send them to a script where:
1. The stored value is retrieved and put into a variable, e.g. $myval
2. The value is displayed in a form text field, like so:
Code: Select all
echo '<input type="text" name="mynewval" value="' . $myval . '">';
3. When the user submits the form, the form data is sent to another script which updates the stored data with the new value.