seventheyejosh Posted February 6, 2009 Share Posted February 6, 2009 Hello all! I'm attempting to do a weighted search based on user defined input based on a 1 - 10 scale. That being, 1 is the highest priority, and 10 would be the least. Once the numbers are defined, they wont be availible for the others. So, you can't put a 1 priority on 2 things. I've scoured the web for weighted searches, and all i can find are text based weighted searches. I'm not even sure this is possible, but any help would be greatly appreciated. I've enclosed a screenshot from the flash demo that I am building off of. Thanks in advance! [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/144093-weighted-sql-search-based-on-10-user-defined-param/ Share on other sites More sharing options...
seventheyejosh Posted February 6, 2009 Author Share Posted February 6, 2009 I forgot to mention I'm using: php 5.2.6 mysql 5.0.67 apache 2.2.8 and a linux os. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/144093-weighted-sql-search-based-on-10-user-defined-param/#findComment-756046 Share on other sites More sharing options...
seventheyejosh Posted February 6, 2009 Author Share Posted February 6, 2009 is this even possible? Quote Link to comment https://forums.phpfreaks.com/topic/144093-weighted-sql-search-based-on-10-user-defined-param/#findComment-756160 Share on other sites More sharing options...
fenway Posted February 8, 2009 Share Posted February 8, 2009 Anything is possible... you'll have to roll your own scoring. Quote Link to comment https://forums.phpfreaks.com/topic/144093-weighted-sql-search-based-on-10-user-defined-param/#findComment-757361 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.