Fezi
asked on
PHP Get textbox value after submit
Hi,
After submitting my search form, I want to retain the value of the search in the textfield.
Also, just to let you know, at the end of the search where you click next/previous button, the querystring contains the search words. I'm using PHP.
Any help appreciated, thanks.
After submitting my search form, I want to retain the value of the search in the textfield.
Also, just to let you know, at the end of the search where you click next/previous button, the querystring contains the search words. I'm using PHP.
Any help appreciated, thanks.
<form action="<?php echo $_SERVER['$PHP_SELF'];?>" method="GET">
<input name="search" type="text" size="25" value="<?php echo $_GET['search']; ?>">
<input type="submit" value="submit">
</form>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you. Perfect Solution
Thanks for the points - it's a great question, ~Ray
Open in new window
search box
Open in new window