funnygiggler
05-03-2006, 07: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
<story>
<name>$sTitle</name> <br />
</story>
EndXMLBlock;
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?
but anyway... could someone please help me out with this
print <<<EndXMLBlock
<story>
<name>$sTitle</name> <br />
</story>
EndXMLBlock;
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?