recordset paging on search/results pages

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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........
    5. 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...
  3. #2

    Default 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

  4. #3

    Default 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

  5. #4

    Default 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

  6. #5

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139