shadiadiph Posted December 30, 2009 Share Posted December 30, 2009 Mmm I have never made my own search function before but am having some difficulty with a search I am building. Basically the search for has five select boxes of which the result could be any in other words the user wants to see all the results for location or price how do you make an SQL statement to return all values from a certain field? All the data has been stored from array keys so the values are all A B C D E F G H etc and help would be much appreciated thanks Link to comment https://forums.phpfreaks.com/topic/186652-searching-for-any-value-a-field/ Share on other sites More sharing options...
fenway Posted December 30, 2009 Share Posted December 30, 2009 Fields only have one value. Link to comment https://forums.phpfreaks.com/topic/186652-searching-for-any-value-a-field/#findComment-985784 Share on other sites More sharing options...
shadiadiph Posted January 1, 2010 Author Share Posted January 1, 2010 thanks that's what i thought so i had to write 32 if statements to query it thanks for the reply anyway. Happy New Year Link to comment https://forums.phpfreaks.com/topic/186652-searching-for-any-value-a-field/#findComment-986723 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.