![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'd like to make something that seems absolutely simple: to put the fragment of html code so that it will be seen for users and not interpreted. For example: $template_thumb_view_title_row = <<<EOT * * * * * * * * * * * * <table width="100%" cellpadding="0" cellspacing="0" * * * * * * * * * * * * <tr * * * * * * * * * * * * * * * * <td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td * * * * * * * * * * * * * * * * <td><img src="images/spacer.gif" width="1" alt="" /></td * * * * * * * * * * * * </tr * * * * * * * * * * * * </table EOT; But computer makes the interpretation and part of the text disappears! Thank you |
#3
| |||
| |||
|
|
On 24 Mar 2008, salonowiec <boguslaw.knapik (AT) gmail (DOT) com> wrote: I dunno what <<<EOT is but for the html you must use html entities for certain characters like "<" and ">" (-which in this case are < and respectively.) -- Neredbojias http://www.neredbojias.com/ Great sights and sounds |
#4
| |||
| |||
|
|
Użytkownik "Neredbojias" <example (AT) example (DOT) com> napisał w wiadomości news:Xns9A6B5071F9E8Dneredbojiasnano (AT) 85 (DOT) 214.90.236... On 24 Mar 2008, salonowiec <boguslaw.knapik (AT) gmail (DOT) com> wrote: I dunno what <<<EOT is but for the html you must use html entities for certain characters like "<" and ">" (-which in this case are < and respectively.) -- Neredbojias http://www.neredbojias.com/ Great sights and sounds Entities, of course!... Many thanks. |
#5
| |||
| |||
|
|
On 24 Mar 2008, salonowiec <boguslaw.knapik (AT) gmail (DOT) com> wrote: I'd like to make something that seems absolutely simple: to put the fragment of html code so that it will be seen for users and not interpreted. For example: $template_thumb_view_title_row = <<<EOT table width="100%" cellpadding="0" cellspacing="0" tr td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td td><img src="images/spacer.gif" width="1" alt="" /></td /tr /table EOT; But computer makes the interpretation and part of the text disappears! I dunno what <<<EOT is but for the html you must use html entities for certain characters like "<" and ">" (-which in this case are < and respectively.) |
#6
| |||
| |||
|
|
On 24 Mar 2008, dorayme <doraymeRidThis (AT) optusnet (DOT) com.au> wrote: But computer makes the interpretation and part of the text disappears! I dunno what <<<EOT is but for the html you must use html entities for certain characters like "<" and ">" (-which in this case are < and > respectively.) And look up the "code" element, you might find it useful. Okay. I've run across Heredoc references before but know zilch about it. Perhaps it's something like "pre"... |
#7
| |||
| |||
|
|
Okay. *I've run across Heredoc references before but know zilch about it.. * Perhaps it's something like "pre"... |

#8
| |||
| |||
|
|
On 24 Mar 2008, "salonowiec" <debrza_remove (AT) poczta (DOT) onet.pl> wrote: I dunno what <<<EOT is but for the html you must use html entities for certain characters like "<" and ">" (-which in this case are < and > respectively.) Entities, of course!... Many thanks. 'Welcome. Er, did it work? Subsequent posters seem to be expressing doubts. -- Neredbojias http://www.neredbojias.com/ Great sights and sounds |
![]() |
| Thread Tools | |
| Display Modes | |
| |