Forums

PHP

This topic is locked

recordset paging

Posted 01 Jun 2006 15:35:44
1
has voted
01 Jun 2006 15:35:44 na na posted:
I made a search result page and I pass the search keyword using a form variable ($_POST) and I put a recordset paging controls from dreamweaver

but the problem when I move to next page I found it empty only the first page result appear

I think the problem is I have to post the search word again , but how to do that ?

thanks

Replies

Replied 01 Jun 2006 16:14:19
01 Jun 2006 16:14:19 Patrick Woldberg replied:
submit the form using get instead of post

--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Administrator at DMXzone.com, FLzone.net, FWzone.net and DNzone.com
--------------------------------------------------
Replied 01 Jun 2006 19:16:12
01 Jun 2006 19:16:12 na na replied:
Yes it work but the search word appear in the url is there a way to hide it ?

thanks
Replied 02 Jun 2006 11:43:44
02 Jun 2006 11:43:44 Roddy Dairion replied:
No it can't be hidden.
Replied 02 Jun 2006 13:19:32
02 Jun 2006 13:19:32 na na replied:
www.php.net

try to search in this site and there is no search word in the url

also I found some site display the search only like that

sitename.php?name=search

www.phpnuke.org

no display of my keyword

how did they do that ?

thanks
Replied 02 Jun 2006 13:27:33
02 Jun 2006 13:27:33 Roddy Dairion replied:
forget the first post they are actually retrieving it in the link itself click on nextpage and you'll this
www.phpnuke.org/modules.php?name=Search&author=&topic=0&min=10&<b>query=php</b>&type=stories&category=0
the bit in bold is your text u've typed in the textbox

Edited by - roders22 on 02 Jun 2006 13:32:42
Replied 02 Jun 2006 14:17:01
02 Jun 2006 14:17:01 na na replied:
is there an easy way to encrypted it

thanks
Replied 02 Jun 2006 14:30:55
02 Jun 2006 14:30:55 Roddy Dairion replied:
No you cant, how will you retrieve it, if you encrypt it??????

Edited by - roders22 on 02 Jun 2006 14:32:20

Reply to this topic