Forums / Developer / how to convert plain text to ezxml?
zurgutt -
Wednesday 30 March 2011 4:47:14 am
I have plain text (email contents) that php script should import into ezxml. How to do it so that it would display roughly the same as result? I guess this basicly just means converting \n to paragraph breaks? Is there convenient functions for this?
Certified eZ developer looking for projects. zurgutt at gg.ee
Marko Žmak
Thursday 31 March 2011 2:02:07 am
As far as I know, there's no such helper function in eZP (not 100% sure though), but that can easily be done using the preg_replace() php function.
Also take a look at this useful tutorial:
-- Nothing is impossible. Not if you can imagine it! Hubert Farnsworth