Hello everybody,
how do I rank mysql search results by column weighting?
thanks for your input.
tulipputih
0
Junior Poster
Recommended Answers
Jump to Postwhat do you mean by column weighting?
If you want to choose a preference you just do
SELECT * FROM table ORDER BY column_1, column_2 DESC
changing column_1 etc to whatever field you want to order by. You can order by more then one and you …
Jump to Postjust do
ORDER BY weight_filter DESC
where weight_filter is the name of the column with that number in
All 5 Replies
TommyBs
1
Junior Poster in Training
tulipputih
commented:
prompt reply..thanks
+1
tulipputih
0
Junior Poster
denit
0
Newbie Poster
TommyBs
1
Junior Poster in Training
tulipputih
0
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.