Searching two tables - one blank search field
i have databse links locations regions of uk , type. type , regions stored in 2 separate tables both of type 2 fields id , text. ids link table (location) has regionid , typeid field refere detail tables. have search page allow search region , type works fine if select in both text boxes returns nothing if 1 left blank. how round this?
sounds manual coding me. if understand correctly
you have 2 search fiels , if 1 blank no results.
questions
- platform?
- want users enter info both fields?
- how large table or how large be?
quick suggestion
- if table small quick , dirty way use wild cards both
fields.
you have 2 search fiels , if 1 blank no results.
questions
- platform?
- want users enter info both fields?
- how large table or how large be?
quick suggestion
- if table small quick , dirty way use wild cards both
fields.
More discussions in Develop server-side applications in Dreamweaver
adobe
Comments
Post a Comment