#5

Quote:
Originally Posted by UFF
Посмотреть сообщение
Код:
                        if(mysqli_num_rows($query) > 0) 
                        { 
                       
                           $id = 0; 
                           while($id < mysqli_num_rows($query)) 
                           { 
                           $row = mysqli_fetch_array($query, MYSQLI_ASSOC); 
                            echo "<tr><td>".$row['reg_id']."</td>"; 
                            echo "<td>".$row['name']."</td>"; 
                            echo "<td>".$row['money']."</td>"; 
                            echo "<td>".$row['score']."</td>"; 
                            echo "<td>".$row['kills']."</td>"; 
                            echo "<td>".$row['deaths']."</td>"; 
                            echo "<td>".$row['cookies']."</tr></td>"; 
                            $id++; 
                           } 
                       } 
                       else { 
                              echo "<tr><td colspan='6'><small>There ARE NO PLAYERS REGISTERED IN SERVER DATABASE!!!</small></td></tr>"; 
                        }
Fixed!
Reply


Messages In This Thread
Help - by Dangjai - 10.08.2018, 22:27
Re: Help - by NaS - 11.08.2018, 03:11
Re: Help - by Dangjai - 11.08.2018, 04:17
Re: Help - by UFF - 11.08.2018, 04:21
Re: Help - by Dangjai - 11.08.2018, 04:33

Forum Jump:


Users browsing this thread: 2 Guest(s)