[eluser]javer[/eluser]
Hi all,
I would appreciate if you can help me with the following.
I have a from, a text area where user can write some text. Then I validate that text using this code.
Code:
$this->form_validation->set_rules('sentence_odkazovac', '', 'required|xss_clean|htmlspecialchars');
After that, I put it into database and then I load it from database and show on site. My problem is when I show it on site I want to have there white spaces exactly as user has written that text including new lines (clrf/return) but it shows text without white spaces.
Thanks for help