Export Page Attribute List
Permalink
I have a page attribute called "Colour" which is a check box.
If I display the contents of that attribute to a page using getAttribute('Colour')
it exports as a string i.e. "Red Blue Green"
Is there a funtion which would export this as a list i.e. "<li>red</li><li>Blue</li><li>Green</li>"
Thank you for your time
If I display the contents of that attribute to a page using getAttribute('Colour')
it exports as a string i.e. "Red Blue Green"
Is there a funtion which would export this as a list i.e. "<li>red</li><li>Blue</li><li>Green</li>"
Thank you for your time
[code] echo "<li>".str_replace(" ","</li><li>,",$strAttribute)."</li>";