In reply to MarkR,
I expected it to extract data from the Property table in the database based on what was selected on the search page. For example if i select the following in the search page...
search_type_1 = Tenant Surname
search_term_1 = Fear
search_type_2 = Road
search_term_2 = (Left Blank)
Then I would expect the results page to return something like...
You have not specified a 2nd search term.
Number of records found: 2
Address Post Code Tenant Name IE Inspection Date WE Works Date Status
31 Long Road Longford Huddersfax HD1 1UP Mr I Fear 0 2005-12-13 0 0000-00-00 1 View Property
50 Cow Head Longford Huddersfax HD1 1UP Mrs K Fear 0 0000-00-00 0 0000-00-00 0 View Property
If I put...
search_type_1 = Tenant Surname
search_term_1 = Fear
search_type_2 = Road
search_term_2 = Long Road
Then ....
Number of records found: 1
Address Post Code Tenant Name IE Inspection Date WE Works Date Status
31 Long Road Longford Huddersfax HD1 1UP Mr I Fear 0 2005-12-13 0 0000-00-00 1 View Property
These are the results that I was getting whilst running on Mysql, but on MS Sql no matter what I select on the search page I'm getting...
You have not specified your 1st search term.
You have not specified a 2nd search term.
- Any error messages displayed or written to the PHP error log.
I've not had any errors reported on screen, and i've got error_reporting(E_ALL)
enabled.
Hope you can understand this :o
Thanks