Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Include W Echo! Jak?
Kaczor.net
post 28.08.2004, 12:10:50
Post #1





Grupa: Zarejestrowani
Postów: 29
Pomógł: 0
Dołączył: 11.05.2003

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


  1. <?
  2.  
  3. $file_name=&#092;"linki/data/data.php\";
  4. $file_data=file($file_name);
  5. $file_data=array_reverse($file_data);
  6.  
  7. for($i=0; $i<count($file_data); $i++){$file=explode('||',$file_data[$i]);
  8.  
  9. echo'<tr>
  10. <td width=\"175\" height=\"24\">&nbsp;<a href=\"http://'.$file['2'].'/\" target=\"_blank\">'.$file['1'].'</a></td>
  11. <td width=\"75\" height=\"24\" align=\"center\"><? include(\"linki/klik/'.$file['1'].'.txt\"); ?></td>
  12. </tr>';}
  13.  
  14. ?>


Czemu to nie działa? Jak zrobić by include działało w echo?

Ten post edytował Kaczor.net 28.08.2004, 13:10:40
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 - 10:00