hi all,
i tried the whole last night in vain to google for a solution, what i want to do is to retain the value of SELECT BOX in the FORM. SELECT BOX is just a part of the form user need to submit. it should return all the values in the same form after validation(i use php for error-checking) and let the user fill the missing fields or correct the mistakes.
i remember some tutorail mentioned the method:
but i cant get it to work.PHP Code:<option value='A' <? if ($_POST == 'A'){ echo "selected"; } ?>>A</option>
another problem is the TEXTAREA, cant retain the value either.
is there's a way using PHP?






Bookmarks