darkfreaks Posted February 21, 2008 Share Posted February 21, 2008 ok how would i write a simple search query using the fields keywords, location and category from my table without it being buggy and complicated? i want to be able to select from all 3 if filled in or just the ones filled in with data. Update- location and category are selects keyword is text Link to comment https://forums.phpfreaks.com/topic/92356-help-writing-search/ Share on other sites More sharing options...
schilly Posted February 21, 2008 Share Posted February 21, 2008 keywords is a field? You could do a basic select query with where clauses WHERE keyword='fun' OR location='house' OR category='socks' Link to comment https://forums.phpfreaks.com/topic/92356-help-writing-search/#findComment-473225 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.