Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Jak rozwiązać ten problem ~ include + print
karolski
post 1.08.2004, 19:05:50
Post #1





Grupa: Zarejestrowani
Postów: 199
Pomógł: 0
Dołączył: 12.02.2004
Skąd: Czymiasto

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


Witam,

Mam problem z stroną w postacio skryptu i systemem newsów który chce w niej zaincludować problem jest następujący kod strony wygląda tak :

  1. <?php
  2.  
  3. require(&#092;"header.txt\");
  4.  
  5. require(&#092;"menu_gorne01.txt\");
  6.  
  7. include ('imieniny.php');
  8.  
  9. echo &#092;"Imieniny: \".$imieniny[date(\"n\",time())][date(\"j\",time())];
  10.  
  11. require(&#092;"menu_gorne02.txt\");
  12.  
  13. require(&#092;"menu_lewe.txt\");
  14.  
  15. print(&#092;"
  16. <!---------- część środkowa ----------!>
  17. <td valign=top>
  18. <table border=0 width=430 cellpadding=5 cellspacing=0>
  19. <tr>
  20. <td bgcolor=#003366 width=430 height=10 valign=top>
  21. <class=&#092;"header\\" align=center><img src=\"Images/dot.gif\" hspace=8 border=0>Aktualności<img src=\"Images/dot.gif\" hspace=8 border=0></p>
  22. </td>
  23. </tr>
  24. <tr>
  25. <td bgcolor=#000000 width=430 height=1>
  26. </td>
  27. </tr>
  28. <tr>
  29. <td bgcolor=#4778a3 width=430 height=2>
  30. </td>
  31. </tr>
  32. <tr>
  33. <td bgcolor=#ededed width=430 height=10>
  34. </td>
  35. </tr>
  36. <tr>
  37. <td valign=top width=430 bgcolor=#ededed>
  38. <class=&#092;\"main\" align=justify>
  39. &#60;!--------- tu chciałbym wstawić skrypt include (\"news/tresc.php\"); -------!>
  40.  
  41. </td>
  42. </tr>
  43. </table>
  44. </td>
  45.  
  46. &#092;");
  47.  
  48.  
  49.  
  50. require(&#092;"menu_prawe01.txt\");
  51.  
  52. require(&#092;"menu_prawe02.txt\");
  53.  
  54. require(&#092;"menu_prawe03.txt\");
  55.  
  56. ?>


może ktoś bedzie wiedziła jak to obejść by działało dużo kombinowałem lecz bez skutecznie sad.gif


--------------------
Pozdrawiam Karolski
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 - 11:14