Skip navigation
SringRVoyager
Currently Being Moderated

PHP filter list from other list's selection

May 17, 2010 8:47 PM

I want to filter one list from the selection of the first list. The second list will use a recordset to find the records to display that match an integer field with the number value of the first list.

 

This seems like it should simply work by using a simple mode of the recordset that compares the value of the the field in this recordset with the Form Variable that equals "lstLevel", the name of the first list. The form action = the current page. Then I have a submit button on the form, but when I press it nothing happens. What am I missing?

 
Replies
  • Currently Being Moderated
    May 18, 2010 8:32 AM   in reply to SringRVoyager

    You will need to create a condition to test for the submitted form.

     

    if the form has been submitted > do the filtering

    else show the form.

     

    HTH

     

    -Rob B

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points