Ask a Question related to Dreamweaver AppDev, Design and Development.
-
markusallen #1
recordset paging on search/results pages
I have a standard search form that posts to a results page. I added the
recordset navigation bar to the dynamic results table using DW, but when I
click on the next page link it displays the results without the form data.
Doesn't dreamweaver update this automatically when I add the recordset
navigation bar? If not, how do I correct? I am using PHP/MySQL. This seems
basic, but I haven't found an example anywhere.
markusallen Guest
-
problems paging a recordset search result
Hello, I have set this script up to add paging to a search results page. Which on the first page works fine. I calculates how many pages there... -
Help With Recordset paging
I am trying to set up a website with my honeymoon and wedding picts for everyone to look at. and I am using CFMX to pull photos and captions from a... -
search results pages
How do I separate lengthy search results into 2 or more pages. For example, the first results page lists result 1 - 10 and the next 11 - 20, and so... -
Problem with paging search results correctly
"CharitiesOnline" <charitiesonline@hotmail.com> wrote in message news:IaCqb.179$u03.28@news-binary.blueyonder.co.uk... Which on many HOWEVER........ -
RecordSet loses search values when paging & simply pages all records?
Hello, I have set this script up to add paging to a search results page. Which on the first page works fine. I calculates how many pages there... -
mcbade #2
Re: recordset paging on search/results pages
Hey team, I'm having the same exact problem!
I have followed the steps several times and tried several attempts with
variations such as inside a table, inside a form, using all DWMX2004PRO
behaviors and application objects and not.
Interestingly if I do a test on the recordset it works fine. If I add a
server behavior that shows the count and the current record it updates as
expected. After the first record nothing but "blanks." I want to show one
record at a time inside my own form.
Thanks in advance for the solution.
mcbade Guest
-
mcbade #3
Re: recordset paging on search/results pages
Ok, in my case I think I have figuered it out. Being a bit new to PHP and
having some more experience in JavaScript some old habits die hard. I need to
remember the implications of how JS is client side and PHP is server side. I
had some code to evaluate a hidden field that stores the state of some radio
buttons. I wanted the radio buttons to come up in the same state that they
were selected as. Running this function on the Body tag as an "onload" seems
to have been the cause of my problem.
Can anyone now tell me what is the best way to store and reterieve radio
button states for a group of radio buttons?
I appreciate any helpful feedback.
Thanks,
-John
mcbade Guest
-
mcbade #4
Re: recordset paging on search/results pages
It seems the best way to render the Radio button in the desired state is to use
php to evaluate the hidden field for the stored state saved in the database and
then "echo" the html string with the html code that displays the button iin the
state I want ie: with the checked element included or not.
mcbade Guest
-
mcbade #5
Re: recordset paging on search/results pages
Maybe I'm the only one reading and posting here but it sure would be great to
have some input :-)
Ok, still learning here so bear with me. The issue is NOT the JavaScript
although my use of JS here was flawed. The issue is when using the Form
Variable / Post method. The server behavior "Recordset Navigation Status"
shows a correct number of records returned. When I page through it updates
with the correct count. The problem is that the first record is the only
oneshown and it will only show up once.
Again any assistance is appreciated!
-John
mcbade Guest



Reply With Quote

