the text from form——->post to a controller——->insert into database——->query in another controller——->pass through the second parameter of loadview function——->in another view, i echo it out, but found it was add some tabs at the beginning of the text. i donno which step cause this, anyone can solve this problem? great thanks.
another question, how can i remove these tabs? i use ltrim() to remove it ,but failed, i just donno what is the second parameter, i tried ‘\t’ and ‘\t.’, both failed.
|
automatically add some tabs to the beginning of my text which is getting from the database
|
|
||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
