Forums
This topic is locked
Dreamweaver Recordset Paging
Posted 13 Feb 2007 12:28:54
1
has voted
13 Feb 2007 12:28:54 Donna McCanny posted:
I have created a search were users can search for properties by type, location and number of bedrooms. There are 21 properties were location = Omagh. If i search using the location omagh it displays 21 properties.The problem:
I have used dreamweaver's recordset navigation bar. The first result page will display results correctly according to my query (eg 1-5 of 21 records). However when I move to the next page all the results are displayed (eg 6-10 of 21 records) forgetting the criteria set in the query and replacing with the default values. Has anyone else had this problem or got a possible solution?
Replies
Replied 08 Aug 2007 23:22:13
08 Aug 2007 23:22:13 paul hampson replied:
Hi,
I have had a similar problem.
It seems to be something to do with the 'form' variables not being passed on properly to preceeding detail/results pages.
I simply changed the 'form' and 'recordset' methods from POST to GET and it solved all my problems.
The only disadvantage with this is that the search engines don't like long query srings in the . However, if it works who am I to argue? You can always set up a php redirect...
Hope this helps.
Paul.
The meak may inherit the earth, but they better get the hell off the track!
I have had a similar problem.
It seems to be something to do with the 'form' variables not being passed on properly to preceeding detail/results pages.
I simply changed the 'form' and 'recordset' methods from POST to GET and it solved all my problems.
The only disadvantage with this is that the search engines don't like long query srings in the . However, if it works who am I to argue? You can always set up a php redirect...
Hope this helps.
Paul.
The meak may inherit the earth, but they better get the hell off the track!