On Sun, 2003-06-08 at 17:15, Simon Coggins wrote: > Hi, [snipped for brevity]
> I need some way of putting a block of text into a variable without > having to read it in from a file. From the template point of view, all > that happends is a token is replaced with the body of the text. So > reading that in from a file is hard. > > Thanks Single quotes will do this; http://ca.php.net/manual/en/language.types.string.php#language.types.string.syntax.single $body = ' Some text here. '; Hope this helps, Torben -- Torben Wilson <[EMAIL PROTECTED]> +1.604.709.0506 http://www.thebuttlesschaps.com http://www.inflatableeye.com http://www.hybrid17.com http://www.themainonmain.com -----==== Boycott Starbucks! http://www.haidabuckscafe.com ====----- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php