[TYPO3-50-general] TypoScript 2.0 syntax

Thomas Hempel thomas at work.de
Fri May 25 06:55:36 CEST 2007


> Question 2) In PHP and several other languages you can use double quotes 
> or single quotes to tell the interpreter that you want a string. In TPO3 
> you can only use double quotationmarks, right?.
> e.g.:
> myObject.value = $hello . "<br />Nice that you\'re here again.<br />" . 
> $goodbye
> what about this?
> myObject.value = $hello . '<br />Nice that you are here again.<br />' . 
> $goodbye
Cite Basic Syntax:
a literal string enclosed by single or double quotes. Single- and double 
quotes as well as the backslash must be escaped with a backslash sign. 
Examples: "Hello world" or "and I said \"Hello world\""


More information about the TYPO3-project-5_0-general mailing list