I have a search form on each of my pages. If I use form helper, it defaults to $_POST
. I\'d like the search term to show up in the URI:
http://examp
I don't know much about CodeIgniter, but it's PHP, so shouldn't $_GET
still be available to you? You could format your URL the same way Google does: mysite.com/search?q=KEYWORD
and pull the data out with $_GET['q']
.
Besides, a search form seems like a bad place to use POST; GET is bookmarkable and doesn't imply that something is changing server-side.