Resolved
$rating = DB::table('users')
->select(DB::raw('*, raiting, count_votes, ((LOG(POW(max(count_votes), 1/10),count_votes))+raiting)/2 as actual_raiting'))
->orderBy("actual_raiting")
->get();
thanks man named (lukasgeiter) in stackoverflow
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community