Mike
12-22-2005, 08:38 AM
Hi all,
I've got yet another question for you all, this time regarding splitting text with PHP.
I've got a database, with fields full of paragraphs. Each paragraph is seperated with a blank line, no html tag or anything.
The problem with this is when I edit it it all comes out in one chunk. I need each paragraph to be outputted like it is in the database. I've tried replacing /n with <p> in an explode function, but that doesn't seem work, so does anyone have any ideas?
Cheers,
Mike
I've got yet another question for you all, this time regarding splitting text with PHP.
I've got a database, with fields full of paragraphs. Each paragraph is seperated with a blank line, no html tag or anything.
The problem with this is when I edit it it all comes out in one chunk. I need each paragraph to be outputted like it is in the database. I've tried replacing /n with <p> in an explode function, but that doesn't seem work, so does anyone have any ideas?
Cheers,
Mike