Hi Guys,
I’m sure I’m missing something very basic here, but I’ve been staring at it for a while now and I can’t seem to solve it.
I’m sending a HTML String (form data) via POST, the header info seems to be OK:
However, when I retrieve the string all HTML tags see to get lost and I end up with plain text…
The code I have is:
// Get the data from the form.
$data = $input->get('jform', array(), 'post', 'array');
$message = $data['message'];
Now $message only contains plain text.
How do I retain the HTML string?