Guest User

Untitled

a guest
May 22nd, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.85 KB | None | 0 0
  1.          <table id="content_table_news">
  2.             <tr>
  3.          <td id="content_full_tdnews_right">
  4.                     <div id="content_divnews_title">Миксы</div>
  5.            <div id="content_divnews_conteiner">
  6.                    <div>
  7. <?php
  8. $result = mysql_query("SELECT * FROM dle_mix_game ORDER BY status DESC",$db);
  9. $result_name = mysql_query("SELECT * FROM dle_users ORDER BY id",$db);
  10. $own_base = mysql_fetch_array($result_name);
  11. echo "<table><tr><td>Статус</td><td>Название</td><td>Создатель</td></tr>";
  12. while ($game = mysql_fetch_array($result)){
  13. echo '<tr><td>$game["status"]</td><td>$game["mixname"]</td><td>';
  14. #тут выовд имя!
  15. echo '</td></tr>';
  16. }
  17. while ($game = mysql_fetch_array($result));
  18. echo "</table>";
  19. ?>
  20.                                       </div>
  21.          </td>
  22.        </tr>
  23.     </table>
Add Comment
Please, Sign In to add comment