Thanks very much, that helps me a lot. It has shown me how to manage and interface this.
I do have some issues to address which really confuse me. Let me just ask, because maybe you can provide some insight. Here is the same link, after the change was made, as you recommended,
www.effords.ca/SimX2/index.php/simsearch/demo-search
All I did was to change the WHERE in the SQL as follows, from,
WHERE
LocCountry LIKE "Canada"
AND
EngMaker LIKE "GE"
AND
RegApprovals LIKE "%Level D%"
to become, based on your last post,
WHERE
LocCountry LIKE "Canada"
AND
({$REQUEST:form:fEngineMaker|empty:""} = '' OR EngMaker = {$REQUEST:form:fEngineMaker|empty:""})
AND
RegApprovals LIKE "%Level D%"
The issue is the new line in the ARI DataTables table with an "RR" under EngMaker (the 8th row down). This should not be pulled and was not pulled when the SQL WHERE was hard coded to EngMaker LIKE "GE". Any ideas why?
I scoured the database looking for any data errors but found none. The EngMaker field in the "Simulators" database table simply has "RR" for this entry, nothing else. There is another field in this same record with a GE string but that is in another field altogether. I tested whether it still might cause by removing the GE string, but with no effect. The RR record was still pulled. I am at a loss as to why.
Ken