hi,
I am using mysql
here is the query
$sql = "select * from lesson where subject = 'science' and verified = 'yes' ";
from this result, calculation will be made..
it is quite long calculation to show here .
let say the above query returns 5 result, all of these 5 results will be presented with their weight.. '.$weight.'
now I want the results to be presented according to desendiing weight.
the idea is - order by '.$weight.' desc
thanks for your help