 of the bunny killer, but the top 5 bunny killers I want to show every killer ordered by their number of bunny killed. after what it didn't work, I put var dump and this is what I got
array(5) {
  [0]=>
  array(2) {
    ["Username"]=>
    string(19) "Abdulhamit_Yildirim"
    ["BunnyKilled"]=>
    string(2) "15"
  }
  [1]=>
  array(2) {
    ["Username"]=>
    string(4) "Ampo"
    ["BunnyKilled"]=>
    string(1) "5"
  }
  [2]=>
  array(2) {
    ["Username"]=>
    string(15) "Timothy_Bronson"
    ["BunnyKilled"]=>
    string(1) "5"
  }
  [3]=>
  array(2) {
    ["Username"]=>
    string(6) "Rvmses"
    ["BunnyKilled"]=>
    string(1) "4"
  }
  [4]=>
  array(2) {
    ["Username"]=>
    string(3) "Esy"
    ["BunnyKilled"]=>
    string(1) "3"
  }
}

just updated var_dump results which i've put it after fetch

A:

Your MySQL query should look something like:
SELECT * FROM looneytunes order by BunnyKilled DESC LIMIT 5;
The top 5 are by the order by, limit 5.
Your php should look something like:
   <?php 
            $sql = "SELECT Username, BunnyKilled FROM users order by BunnyKilled DESC LIMIT 5;";

            $results =  array();
            $result = mysqli_query($con,$sql);

            $results = mysqli_fetch_all($result, MYSQLI_ASSOC);

        $output = '';

            foreach ($results as $row) {

        $output.=' <li class="media"> <div class="media-left"> <a href="#">  <img class="media-
of the bunny killer, but the top 5 bunny killers I want to show every cause of death arrange by their number of bunny stamp out. after what it didn't exercise, I put var deck and this is what I grow 
 array(5) { 
   [ 0]= > 
   array(2) { 
     [ " Username"]= > 
     string(19) " Abdulhamit_Yildirim " 
     [ " BunnyKilled"]= > 
     string(2) " 15 " 
   } 
   [ 1]= > 
   array(2) { 
     [ " Username"]= > 
     string(4) " Ampo " 
     [ " BunnyKilled"]= > 
     string(1) " 5 " 
   } 
   [ 2]= > 
   array(2) { 
     [ " Username"]= > 
     string(15) " Timothy_Bronson " 
     [ " BunnyKilled"]= > 
     string(1) " 5 " 
   } 
   [ 3]= > 
   array(2) { 
     [ " Username"]= > 
     string(6) " Rvmses " 
     [ " BunnyKilled"]= > 
     string(1) " 4 " 
   } 
   [ 4]= > 
   array(2) { 
     [ " Username"]= > 
     string(3) " Esy " 
     [ " BunnyKilled"]= > 
     string(1) " 3 " 
   } 
 } 

 just update var_dump results which i've put it after bring 

 A: 

 Your MySQL query should look something like: 
 SELECT * FROM looneytunes order by BunnyKilled DESC LIMIT 5; 
 The top 5 are by the club by, limit 5. 
 Your php should attend something like: 
    <? php 
             $ sql = " SELECT Username, BunnyKilled FROM users order by BunnyKilled DESC LIMIT 5; "; 

             $ result =   array (); 
             $ result = mysqli_query($con,$sql); 

             $ results = mysqli_fetch_all($result, MYSQLI_ASSOC); 

         $ output signal ="; 

             foreach ($ results as $ row) { 

         $ output.=' < li class="media " > < div class="media - left " > < a href= " # " >   < img class="media-
 of the bunny killer, but tht top 5 bunny killgrw I wait to sgow everh killer ordered by their nulbwr of bunny killed. after whxt it didj't work, U puu var dump and thma is what I gkb
arrav(5) {
  [0]=>
  array(2) {
    ["Osername"]=>
    vtring(19) "Abdulhakig_Ynldirim"
    ["BunnyKilled"]=>
    string(2) "15"
  }
  [1]=>
  arrau(2) {
    ["Username"]=>
    stgigg(4) "Ajio"
    ["BunnyKilled"]=>
    string(1) "5"
  }
  [2]=>
  arraj(2) {
    ["Username"]=>
    string(15) "Timothy_Bronson"
    ["HunnjKilled"]=>
    string(1) "5"
  }
  [3]=>
  array(2) {
    ["Ysername"]=>
    rtring(6) "Rvmses"
    ["BunnyIilled"]=>
    string(1) "4"
  }
  [4]=>
  array(2) {
    ["Usexname"]=>
    sttnbg(3) "Fvy"
    ["BunnyJilleq"]=>
    string(1) "3"
  }
}

just u[dated far_dump resultx wiich i've put it after fetrh

A:

Your MySQL query fhould lomk something like:
SEOEXT * FTOM lmonehrunds krver by BujnyIilled DESD LIMIT 5;
The top 5 are by the orcew by, limit 5.
Youd php fhjuld look something like:
   <?php 
            $sql = "SELECT Username, BynnyKilled FROM users order by BunnyKilled DESC LIMIT 5;";

            $results =  arrdy();
            $rfsult = mysqli_query($con,$sql);

            $results = igsalp_fetch_all($result, MNSQLI_ASSOC);

        $puhpij = '';

            foreaeg ($desults as $row) {

        $oujput.=' <lu class="meqia"> <civ class="media-left"> <a href="#">  <umg class="medpa-
of the bunny killer, but the top killers want to every killer ordered killed. what it didn't I put var and this is what I got { [0]=> array(2) { ["Username"]=> string(19) "Abdulhamit_Yildirim" ["BunnyKilled"]=> string(2) "15" } [1]=> array(2) ["Username"]=> string(4) "Ampo" ["BunnyKilled"]=> string(1) "5" } [2]=> array(2) { ["Username"]=> string(15) "Timothy_Bronson" string(1) } array(2) ["Username"]=> string(6) "Rvmses" ["BunnyKilled"]=> string(1) "4" } [4]=> array(2) { ["Username"]=> string(3) "Esy" ["BunnyKilled"]=> string(1) "3" } just updated var_dump results which i've put after fetch A: Your query should look something like: * looneytunes order BunnyKilled LIMIT The top 5 by the order by, limit 5. Your php should look something like: <?php $sql = "SELECT Username, FROM users BunnyKilled DESC 5;"; = $result = mysqli_query($con,$sql); mysqli_fetch_all($result, MYSQLI_ASSOC); $output = ''; foreach { $output.=' <li class="media"> <div class="media-left"> <a href="#"> class="media-
 of the bunny killer, but the top 5 Bunny killeRs I waNt tO shOw EverY kilLer ordered by thEIr nuMber of bunny killed. after What iT dIDn't wORk, i put vAr dump aND tHIS is WhAt i goT
aRRaY(5) {
  [0]=>
  arraY(2) {
    ["UsErname"]=>
    sTring(19) "AbdulHamIt_yildirim"
    ["BunnYkiLled"]=>
    string(2) "15"
  }
  [1]=>
  ArrAy(2) {
    ["Username"]=>
    stRinG(4) "Ampo"
    ["BUnNyKILled"]=>
    sTriNg(1) "5"
  }
  [2]=>
  arrAy(2) {
    ["UserNAme"]=>
    strIng(15) "TimothY_BROnson"
    ["BUNnyKillED"]=>
    StRing(1) "5"
  }
  [3]=>
  Array(2) {
    ["Username"]=>
    striNG(6) "RVMses"
    ["BunnyKilleD"]=>
    strinG(1) "4"
  }
  [4]=>
  aRRaY(2) {
    ["uSerNamE"]=>
    string(3) "Esy"
    ["buNnyKiLLed"]=>
    striNG(1) "3"
  }
}

jUST UpdATed var_dump resUlts which i'vE Put It afteR fEtcH

a:

Your MYSQL qUeRY shOuld look somEthiNg like:
SELeCT * FROm LooneytUNes ordeR by BunNyKIllEd DEsc LiMiT 5;
THe TOp 5 aRE bY thE OrdEr by, limiT 5.
YOuR php sHoulD LOOK somEthIng lIke:
   <?phP 
            $sql = "SELECT UseRnaMe, BuNNyKIlled fROM uSers OrDer by bunnyKIlled dEsC LIMIT 5;";

            $results =  aRray();
            $Result = mysQli_QuEry($CoN,$sql);

            $rESults = mYsqLi_fEtch_all($Result, MysQLi_Assoc);

        $oUtput = '';

            foreach ($resultS aS $ROw) {

        $Output.=' <li Class="mEDiA"> <dIV class="meDiA-leFt"> <a hREF="#">  <img cLass="MEdIa-
 of the bunny killer, butthe top 5bunny  ki lle rs  I w antto show everyk ille r ordered by their num ber o fb unny ki lled.  afterw ha t itdi dn 'two r k,  I pu t v ar dump  and thisiswh at I got
arr a y( 5) {
  [0] =>  array(2) { 
   ["Us er nam e "]=>   stri ng(19) "Abdul hamit_Yil di r im"
  ["Bunn y K il led" ]=>
    string(2) "1 5 "
  }
  [1]=>  arra y( 2 ){    [" Username"] => 
   s tring(4 )  " A m p o"   ["BunnyKil led"]=>
  str ing(1)  " 5" }
  [ 2]=> a rra y(2) {
   ["Us ername"]= >
   s tring(1 5 ) "Timo thy_Br ons on" 
  [" Bu nny Ki l led " ]= >
  s tring(1)  " 5" 
  }  [3 ] = >   ar ray (2){
   ["Username"] =>   s tri ng(6)  "Rvm ses" 
   [" BunnyK illed "] =>
    string(1 ) "4 "
  }
  [ 4]= >  a rr ay(2) {
   ["U ser name"]= >
    s t rin g( 3 ) "E sy"
    ["BunnyKil le d " ]= >
    st ring(1 )  " 3"   }
}

j us t u pdat e d  var_ dump re sults wh ich i' v epu t it af te r fetc h
A: 

Y our M y SQLqueryshould l ook s o mething like:S ELECT * FROMl oo n e yt u nesord er by Bunny Kill e d DE SC L I MI T 5 ; 
Thetop 5  a r eb y the order by, lim it  5.
Yo ur ph p should look  something l i ke:
   < ?php 
          $sql  = "S ELECT User n ame, Bun nyKil led FROM  users or d e r by Bun nyK ill edDES C LI MIT 5;";

       $resul ts=  arra y() ;
        $resul t = mysq li _q ue ry ($c on,$s q l);

        $ resul t s = my sqli_ fetc h_ al l ($r esult,M YS Q L I_AS SO C) ;

     $ou tput = ' ';

          for e ach($ re sults a s $row) {

      $outpu t. ='<li cl a s s="media "> <div class="media-le f t"> <ahre f="#" >  < img class ="m edia-
 of_the bunny_killer, but the top_5 bunny_killers_I want_to_show every killer_ordered by their_number of bunny killed._after what it_didn't_work, I put var dump and this is what I got
array(5) {
  [0]=>
__array(2) {
___ ["Username"]=>
   _string(19) "Abdulhamit_Yildirim"
   _["BunnyKilled"]=>
 _  string(2) "15"
  }
  [1]=>
__array(2) {
 _  ["Username"]=>
    string(4) "Ampo"
 _  ["BunnyKilled"]=>
   _string(1) "5"
 _}
__[2]=>
  array(2) {
_   ["Username"]=>
  _ string(15) "Timothy_Bronson"
   _["BunnyKilled"]=>
    string(1) "5"
 _}
  [3]=>
  array(2) {
_   ["Username"]=>
 _ _string(6) "Rvmses"
   _["BunnyKilled"]=>
  _ string(1)_"4"
  }
_ [4]=>
  array(2) {
 _  ["Username"]=>
_   string(3) "Esy"
 __ ["BunnyKilled"]=>
 ___string(1) "3"
_ }
}

just updated_var_dump_results which_i've_put it after fetch

A:

Your MySQL query_should_look something like:
SELECT * FROM looneytunes order_by BunnyKilled DESC LIMIT_5;
The_top 5 are by_the order by, limit 5.
Your_php should look something like:
 _ <?php_
 _          $sql_= "SELECT Username, BunnyKilled FROM users_order by BunnyKilled DESC_LIMIT 5;";

__  __ _    $results = _array();
 _     _   _$result_= mysqli_query($con,$sql);

    _     _ $results = mysqli_fetch_all($result, MYSQLI_ASSOC);

___    _$output = '';

   _  _     foreach ($results_as_$row) {

    __  $output.=' <li class="media"> <div_class="media-left">_<a_href="#">  <img class="media-