Forms Input Text how to Keep {SOLVED}

When i have a form and have this:

<form method=post action=index.php>
<input type="text" name="example" />
<input type=submit value=submit />

this is already the index.php file and so when submitted it refreshes itself with the selected items and text. I would like to know how to show the text that was entered by the person on the index.php to show on the submitted index.php. Hope i was able to explain it ok. Thanks for all you help.

[php]

<? // Below checks to see if the POSTed value for example was submittied. If // it was, then it assigns that to $example. If not it assigns '' (empty) // to example $example = !empty($_POST['example']) ? $_POST['example'] : ''; ?> [/php]
Sponsor our Newsletter | Privacy Policy | Terms of Service