Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php][CMS][php-FUSION][Nowa Wtyczka], Brak tabeli
Earth
post 6.12.2006, 16:13:00
Post #1





Grupa: Zarejestrowani
Postów: 169
Pomógł: 2
Dołączył: 6.12.2006

Ostrzeżenie: (0%)
-----


Zacząłem tworzyć swojego pierwszego infusiona i mam problem przy skryptach nie pokazuje mi się tabela:

Przykład:
http://nfs-pl.ovh.org/infusions/nfs_racer_u2/ranking.php
Powinno być:
http://nfs-pl.ovh.org/viewpage.php?page_id=24


  1. <?php
  2. /*---------------------------------------------------+
  3. | php-Fusion 6 Content Management System
  4. +----------------------------------------------------+
  5. | Copyright Š 2002 - 2005 Nick Jones
  6. | <a href="http://www.php-fusion.co.uk/" target="_blank">http://www.php-fusion.co.uk/</a>
  7. +----------------------------------------------------+
  8. | Released under the terms & conditions of v2 of the
  9. | GNU General Public License. For details refer to
  10. | the included gpl.txt file or visit <a href="http://gnu.org" target="_blank">http://gnu.org</a>
  11. +----------------------------------------------------*/
  12. require_once "../../maincore.php";
  13. require_once BASEDIR."subheader.php";
  14. require_once BASEDIR."side_left.php";
  15.  
  16. openside("NFS Underground 2 Racer");
  17.  
  18. print ('
  19. <TABLE WIDTH="100%" BORDER="5" BORDERCOLOR="black">
  20. <TR BGCOLOR="#4D4D4D">
  21. <TD WIDTH="40%"><FONT color=white>Nick:</FONT></TD>
  22. <TD WIDTH="30%"><FONT color=white>GG:</FONT></TD>
  23. <TD WIDTH="15%"><FONT color=white>Ostatnio:</FONT></TD>
  24. <TD WIDTH="15%"><FONT color=white>Wynik:</FONT></TD>
  25. </TR>');
  26.  
  27. $query = "SELECT * FROM nfsu2_ranking";
  28. $result = mysql_query($query);
  29.  
  30.  
  31. while ($table = mysql_fetch_array($result))
  32. {
  33. echo "<TR>
  34. <td>".$table['nick']."</td>
  35. <td>".$table['gg']."</td>
  36. <td>".$table['ostatnio']."</td>
  37. <td>".$table['wynik']."</td>
  38. </TR>";
  39. }
  40.  
  41. print ('</TABLE>');
  42. closeside();
  43.  
  44.  
  45. require_once BASEDIR."side_right.php";
  46. require_once BASEDIR."footer.php";
  47. ?>


Ten post edytował Earth 6.12.2006, 16:38:01
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 13:01