[eluser]pickupman[/eluser]
[quote author="chicadeas" date="1272807940"]I am new to Codeigniter. I get this message when I try to insert info into my database. Need help.
Message: Cannot modify header information - headers already sent by (output started at /home/danadria/public_html/system/application/controllers/blog.php:1)[/quote]
This means you may have a empty line at the start of your file ie:
Code:
(blank line here)
<?php
class Your_file_begins_here
Make sure the opening php tag is on line 1 of you file. You may also get this problem if you leave an empty line after a closing php tag. To save yourself some headaches, you may leave off the closing php tag for a file.