Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Zapis textu do zmiennej po za obszarem php
expert
post 1.04.2010, 10:51:13
Post #1





Grupa: Zarejestrowani
Postów: 211
Pomógł: 4
Dołączył: 29.10.2008

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


Witam,

mam taki kod:
  1. <?
  2.  
  3. $centertresc.='<iframe src="mapagoogle" width="100%" height="500" frameborder="0" scrolling="no" style="background-color: white; background-image: url(\'images/loadingmap.gif\'); background-position: center; background-repeat: no-repeat;"></iframe><br>
  4. <div style="width: 100%; height: 150px; overflow: auto;"><ul id="pasekBoczny"><!-- pasek boczny --></ul></div>';
  5.  
  6. ?>


Czy da się zrobić tak, aby móc zapisywać tekst do zmiennej poza obaszarem php, np.
  1. <?
  2.  
  3. $centertresc.='
  4. ?>
  5. <iframe src="mapagoogle" width="100%" height="500" frameborder="0" scrolling="no" style="background-color: white; background-image: url(\'images/loadingmap.gif\'); background-position: center; background-repeat: no-repeat;"></iframe><br>
  6. <div style="width: 100%; height: 150px; overflow: auto;"><ul id="pasekBoczny"><!-- pasek boczny --></ul></div>
  7.  
  8. <?
  9. ';
  10.  
  11. ?>


Pozdrawiam.
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 - 15:50