I have a page that gains its content from a mysql db, take this example in the db:
This is the first paragraph.<newpara>And this is the second paragraph.<bulllet>Point One<bullet>Point Two<bullet>Point Three<newpara>This is the last paragraph.
I though if I indicated new paragraphs and bullets with <newpara> and <bullet> that I could use PHP to format it correctly with appropriate <p> and <ul><li> tags. Perhaps with explode(), but how?
Thanks.
This is the first paragraph.<newpara>And this is the second paragraph.<bulllet>Point One<bullet>Point Two<bullet>Point Three<newpara>This is the last paragraph.
I though if I indicated new paragraphs and bullets with <newpara> and <bullet> that I could use PHP to format it correctly with appropriate <p> and <ul><li> tags. Perhaps with explode(), but how?
Thanks.