Wednesday, November 12, 2008, 5:05:12 PM, noskule wrote: > this works just fine. But I'm looking for a way to avoid the EOF part in > style.css. Does anyone have a clue how to do that?
see http://us2.php.net/types.string under "heredoc". <<<XYZ string here... XYZ; is called 'heredoc syntax'. It is convenient since you don't need to escape any quotes. Otherwise you could just put your string (css code) in double quotes, but make sure any quotes are escaped. For instance: <?php return " a { color:$links_color; } ...more css.... "; ~Hans _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
