Skip navigation
Currently Being Moderated

using advance recordset to create search form

Jul 24, 2012 4:24 AM

Tags: #search #variables #recordsets #dynamic_forms

I am new to dreamweaver and am struggling to join and search different tables from a database.

 

I have managed to create a simple recordset for a simple search using one field from one table. I am creating a search form to have a number of drop down list to search various table in a database and display those records that meet the search.

 

Someof the lookup items are selected form from tables such as category and others are comparissons such as >, = etc.

 

In the results page I create a recordset with the fields from the search results but I can't seem to be able to create the variables for comparison. If I create say 2 variables var1 and var2 and set up the type as text and default value -1, runtime value as $_POST['category'] it doesn't seem to accept the input from the form.

 

I also find that sometimes it take some of the variable settings into a $totalRow variable and I don't know if this is correct.   Please can someone assist as I am getting very frustrated....

 
Replies
  • Currently Being Moderated
    Jul 24, 2012 10:53 AM   in reply to ant01

    >it doesn't seem to accept the input from the form.

     

    Please show us the entire code so we can troubleshoot the problem.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 24, 2012 3:12 PM   in reply to ant01

    Yeah, it looks like the server behaviour on that page is corrupt. Notice that it has duplicate recordset code. I would suggest recreating the page from scratch.

     
    |
    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