Raised This Month: $32 Target: $400
 8% 

Order by help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 05-11-2012 , 23:29   Order by help
Reply With Quote #1

How I can make this order?

PHP Code:
mysql_query('SELECT * FROM table ORDER BY '.round($a['dmg'] / max($a['wins'] + $a['losses'], 1)).' DESC'); 
__________________
kramesa is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode