[[html()]]
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:create:functions:html [24.12.2014 18:12] – [Tips] alexander.ritteren:create:functions:html [24.12.2014 18:17] – [Tips] alexander.ritter
Line 49: Line 49:
 </code> </code>
  
-**Note:** Some words (e.g. "new") must not occur in PHP codebecause they carry a particular meaning in PHP. If one of these words occurs in your text, and you definitely want to use the command ''html()'' instead of a text element, then assemble the text from fragments:+**Note:** Some words (e.g. "new") must not appear in PHP code because they hold a particular meaning in PHP. If one of these words appears in your text, and you definitely want to use the command ''html()'' instead of a text element, then compile the text with fragments:
  
  
Line 56: Line 56:
 html('<p>This is a new car</p>'); html('<p>This is a new car</p>');
  
-// text() does not know this limitation+// text() does not know this restriction
 text('cartext'); text('cartext');
  
-// And this detour works+// And this roundabout way works
 html('<p>This is a ne'.'w car</p>'); html('<p>This is a ne'.'w car</p>');
 </code> </code>
en/create/functions/html.txt · Last modified: 09.03.2022 15:48 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki