Link to home
Start Free TrialLog in
Avatar of wal_toor
wal_toorFlag for Netherlands

asked on

Use form variables in url

Hello all,

I have this little searchbox that does the trick:

<form action="" method="post" accept-charset="utf-8" name="searchform" id="searchform">
<input type="text" name="search_input" value="" id="search_input">
<input type="submit" name="search_button" value="Go" id="search_button" class="button button_blue">

Open in new window

I really would like to share the search url with other people (nice clean url without the get variables), so if a user searches for the word 'books' the url that should be loaded/displayd should become:

Open in new window

Can this be done? And how?

Avatar of James Williams
James Williams
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wal_toor


Ah mod_rewrite.. had'nt thought of that yet. Thanks!