View Full Version : can a string be made out of this....?

05-03-2006, 08:51 PM
i think im always going to be classed as a novice at php....

but anyway... could someone please help me out with this

print <<<EndXMLBlock
<name>$sTitle</name> <br />

the above is a piece of code that prints the bit inbetween with the structure and tags included! however... im wondering is it possible to put that into a string which can be called at some point?

05-03-2006, 10:34 PM
<name>$sTitle</name> <br />