I have a script which outputs mysql cell data. The "content" cell contains text output, which is of varied length.
When the contents of the "content" cell are small (lets say, a few lines of text), everything works fine. However, when the output reaches several paragraphs or more, I get the 'headers already sent' error.
Does it depend on the output length? Where can I read more about it? The answers I've found on SO mention nothing of such output length-dependency.
44: echo "
45: <p>".$article['content']."</p>
46: ";
If the size of the 'content' output is large, the script produces the following error:
PHP Warning: Cannot modify header information - headers already sent by (output started at /home/mantas/htdocs/asm/article.php:46) in /home/mantas/htdocs/asm/include/comments_class.php on line 56