Answer the question
In order to leave comments, you need to log in
Form query from SQL Server database in Laravel blade?
{{ DB::connection('ddtank')->table('Sys_Users_Detail')->where('UserName', Auth::user()->name)->first() != null ?DB::connection ('ddtank')->table('Sys_Users_Detail')->where('UserName', Auth::user()->name)->first()->NickName : 'null' }} - Shows my nickname name from database
{{ DB::connection('ddtank')->table('V_Sys_Users_Detail')->where('UserName', Auth::user()->name)->first() != null ? DB::connection('ddtank')->table('V_Sys_Users_Detail')->where('UserName', Auth::user()->name)->first()->FightPower : 'null' }} -
Shows my strength from the database
Please help me to implement the request,which will give out the player's Nickname and his strength (from highest to lowest)
For example Fifik 1000000
Fifik2 10000
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question