The database stores the data like I entered it, but HTML does not render tabs, new lines, special characters etc. within HTML table. Can anyone help me solve this problem?
Thanx.
use htmlentities() (see the PHP doc about it) to convert your special chars to HTML chars.
and when displaying your data, use nl2br() so that your \n will be converted into <br>.
see more about those functions here
Thanks, man!!!
It really works...
😉