mindlessLemming
05-27-2004, 03:18 AM
Hi php ppl :)
I'm pulling xhtml out of a database for a home brew CMS and would like to make the output mark-up neater without having to add \n to the stored field.
I'm trying to make a function that searches a single field's output and insert \n whenever it finds a closing tag. </anyelement>\n
Any tips in the right direction would be greatly appreciated :D
I'm pulling xhtml out of a database for a home brew CMS and would like to make the output mark-up neater without having to add \n to the stored field.
I'm trying to make a function that searches a single field's output and insert \n whenever it finds a closing tag. </anyelement>\n
Any tips in the right direction would be greatly appreciated :D