Actually I store it on an edit or new item page, then view it again on... Well, edit or just plain view item.
And I'll try this, however I was hoping there was already a php function for this, as its driving me insane and made me spend close to 4 hours trying to fix a function that wasn't broken.
Thanks I just tried it and it worked, however I really don't want to have to do it like this as its incredibly messy if theres already a function for it....
Also, I have to use:
$data = str_replace("\\n", "\n", $data);
Rather than
$data = str_replace("\n", "\n", $data);
Even though when using
$data = stripslashes($data);
Strips the slashes altogether and returns "n" instead of "\n" like you'd expect.... And even when I just print the data, or view the data by hand from the table, it shows "\n" and not "\n"