05-25-2010, 10:03 AM
[eluser]Tom Taila[/eluser]
I basically have a comment system set up, and each comment has a "score" which is very similar if not the same as the "like" button in facebook, the more users that click my "vote up" button the higher the comments score becomes. Now, thats all fine, the problem is however i want to create a sort code where by i can sort the comments by "highest scoring to lowest scoring" and also vice versa. Anyone have any ideas? thanks very much
I basically have a comment system set up, and each comment has a "score" which is very similar if not the same as the "like" button in facebook, the more users that click my "vote up" button the higher the comments score becomes. Now, thats all fine, the problem is however i want to create a sort code where by i can sort the comments by "highest scoring to lowest scoring" and also vice versa. Anyone have any ideas? thanks very much
